Re: Querying $libdir - Mailing list pgsql-general

From Nigel J. Andrews
Subject Re: Querying $libdir
Date
Msg-id Pine.LNX.4.21.0309031208340.8503-100000@ponder.fairway2k.co.uk
Whole thread Raw
In response to Re: Querying $libdir  (psql-mail@freeuk.com)
Responses Re: Querying $libdir  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Wed, 3 Sep 2003 psql-mail@freeuk.com wrote:

> >
> > Replying to myself...
> >
> > On Wed, 3 Sep 2003, Nigel J. Andrews wrote:
> > >
> > > The subject says it really. Is there a way to query the value of $
> libdir, and I
> > > don't mean the dynamic_library_path GUC?
>
> <SNIP>
>
> Nigel,
>
> I don't know of a way of querying $libdir directly, but you can find
> out its value using
> pg_config --libdir
>
> Hope that Helps

LOL, can you say dimwit? I completely forgot about that even though I knew it
did that and indeed use it elsewhere. It's not perfect in that it doesn't tell
me what the backend is using unless it's from the same installation but it's
certainly close enough.

Thanks, my excuse is it was late when I was looking at this issue.

--
Nigel J. Andrews


pgsql-general by date:

Previous
From: Malcolm Warren
Date:
Subject: Re: Using oids
Next
From: "Amin Schoeib"
Date:
Subject: Output from PLPGSQL