From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | PG Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Win32 sysconfig -> pg_service.conf |
Date: | 2006-03-29 22:25:08 |
Message-ID: | 20060329222507.GB675@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
On Wed, Mar 29, 2006 at 03:53:13PM -0500, Andrew Dunstan wrote:
> 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.
Per IRC discussion, there's no default set in the windows
distribution.
> >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?
Let's turn that question around. Why *shouldn't* there be a default
built in? "No default" seems like a pretty poor fall-through.
Cheers,
D
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
phone: +1 415 235 3778 AIM: dfetter666
Skype: davidfetter
Remember to vote!
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2006-03-29 23:19:49 | Re: Index vacuum improvements |
Previous Message | Tom Lane | 2006-03-29 22:04:19 | Re: control pg_hba.conf via SQL |
From | Date | Subject | |
---|---|---|---|
Next Message | Philip Yarra | 2006-03-30 00:34:22 | Show tablespace for databases with psql's \l+ |
Previous Message | Tom Lane | 2006-03-29 21:37:52 | Re: restore to defaults values when commenting of variables in postgresql.conf |