Re: Win32 sysconfig -> pg_service.conf

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Win32 sysconfig -> pg_service.conf
Дата
Msg-id 442AF3B9.6070706@dunslane.net
обсуждение исходный текст
Ответ на Win32 sysconfig -> pg_service.conf  (David Fetter <david@fetter.org>)
Ответы Re: Win32 sysconfig -> pg_service.conf  (David Fetter <david@fetter.org>)
Список pgsql-hackers
David Fetter wrote:
> Folks,
>
> I'm trying to get pg_service.conf working on Windows so we can
> standardize on a way of doing things cross-platform, and noticed that
>
> pg_config.exe --configure
>   


why are you using this flag? if you leave it off you will see everything.


> doesn't report anything by way of --sysconfdir, which in turn means
> that people have to do some fragile hackery in order even to see a
> pg_service.conf file.  Can we put such a configuration directive
> into the binary builds?  Is this known to work?
>
>   

In any case, the default is $prefix/etc which is probably not what you 
want anyway - why not set the PGSYSCONFDIR environment variable to point 
to where you put the service  file?

cheers

andrew



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

Предыдущее
От: David Fetter
Дата:
Сообщение: Win32 sysconfig -> pg_service.conf
Следующее
От: BERTHOULE Emmanuel
Дата:
Сообщение: control pg_hba.conf via SQL