Re: registry vs. environment (was re:binary

Поиск
Список
Период
Сортировка
От Claudio Natoli
Тема Re: registry vs. environment (was re:binary
Дата
Msg-id A02DEC4D1073D611BAE8525405FCCE2B55F2EA@harris.memetrics.local
обсуждение исходный текст
Список pgsql-hackers-win32
Andrew Dunstan wrote:
> I'm not clear *which* settings it is proposed to set in the registry,
> nor how possible it will be to override the settings, and with which
> mechanism.

I pretty much agree with Andrew here. Frankly, I think this whole discussion
"registry vs env" is a bit pointless.

What *exactly* does anyone think will need to be put in the registry?

Surely, our Win32 service wrapper can just allow something like this:

    postgres /regserver servicename <command line args go here>

So, if I want to have multiple servers registered, I could do:
    postgres /regserver MyPGServer_1 -D c:/data1
    postgres /regserver MyPGServer_2 -D c:/data2
and so on.

(FWIW, I'm doing this already)

And of course, you can always run another instance from the command line, or
have a single instance registered that takes all its args from the
environment, or ...

Cheers,
Claudio

---
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>

В списке pgsql-hackers-win32 по дате отправления:

Предыдущее
От: "Magnus Hagander"
Дата:
Сообщение: Re: registry vs. environment (was re:binary installer)
Следующее
От: Ronald Kuczek
Дата:
Сообщение: Re: registry vs. environment (was re:binary