Re: Win32 sysconfig -> pg_service.conf

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: David Fetter <david(at)fetter(dot)org>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Win32 sysconfig -> pg_service.conf
Date: 2006-03-29 20:53:13
Message-ID: 442AF3B9.6070706@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message BERTHOULE Emmanuel 2006-03-29 21:12:57 control pg_hba.conf via SQL
Previous Message David Fetter 2006-03-29 20:24:51 Win32 sysconfig -> pg_service.conf

Browse pgsql-patches by date

  From Date Subject
Next Message Steve Woodcock 2006-03-29 21:11:08 Re: Improve psql's handling of multi-line queries
Previous Message David Fetter 2006-03-29 20:24:51 Win32 sysconfig -> pg_service.conf