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

From Bruce Momjian
Subject Re: [GENERAL] Querying libpq compile time options
Date
Msg-id 200605171831.k4HIVHN13933@candle.pha.pa.us
Whole thread Raw
In response to Re: [GENERAL] Querying libpq compile time options  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [GENERAL] Querying libpq compile time options
List pgsql-hackers
Tom Lane wrote:
> "Larry Rosenman" <lrosenman@pervasive.com> writes:
> >> Uh, it is an _admin_ function, not an application programmer
> >> function.
> 
> > but libpq is the only thing that knows where it is, and I had proposed a
> > way for psql to use the function to get it.
> 
> It'd make more sense for pg_config to expose this as one of the
> available information bits.  The difference from the thread-support

We already do expose it:
$ pg_config --sysconfdir/usr/var/local/postgres/etc

--  Bruce Momjian   http://candle.pha.pa.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

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