Re: [GENERAL] Querying libpq compile time options

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Larry Rosenman <lrosenman(at)pervasive(dot)com>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, spaminos-sql(at)yahoo(dot)com, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] Querying libpq compile time options
Date: 2006-05-17 18:38:04
Message-ID: 446B6D8C.3030006@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-05-17 19:02:10 Re: [GENERAL] Querying libpq compile time options
Previous Message Bruce Momjian 2006-05-17 18:31:50 Re: [GENERAL] Querying libpq compile time options