Re: [GENERAL] Querying libpq compile time options - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: [GENERAL] Querying libpq compile time options
Date
Msg-id 446B6D8C.3030006@dunslane.net
Whole thread Raw
In response to Re: [GENERAL] Querying libpq compile time options  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [GENERAL] Querying libpq compile time options
List pgsql-hackers
Bruce Momjian wrote:
> We already do expose it:
>
>     $ pg_config --sysconfdir
>     /usr/var/local/postgres/etc
>
>   

Speaking of this item, what do we want to do about the Windows situation 
where if the directory doesn't exist it reports nothing at all? I am 
inclined to send back the output from GetFullPathName() instead of 
GetShortPathName(). This should be fixed - reporting an empty string is 
fairly unsatisfactory.

cheers

andrew



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] Querying libpq compile time options
Next
From: Bruce Momjian
Date:
Subject: Re: [GENERAL] Querying libpq compile time options