Re: Querying $libdir

From: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
To: psql-mail(at)freeuk(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Querying $libdir
Date: 2003-09-03 11:12:41
Message-ID: Pine.LNX.4.21.0309031208340.8503-100000@ponder.fairway2k.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, 3 Sep 2003 psql-mail(at)freeuk(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Amin Schoeib 2003-09-03 11:19:03 Output from PLPGSQL
Previous Message Malcolm Warren 2003-09-03 11:05:30 Re: Using oids