"Nigel J. Andrews" <nandrews@investsystems.co.uk> writes:
> On Wed, 3 Sep 2003 psql-mail@freeuk.com wrote:
>> I don't know of a way of querying $libdir directly, but you can find
>> out its value using
>> pg_config --libdir
> LOL, can you say dimwit? I completely forgot about that even though I knew it
> did that and indeed use it elsewhere.
BTW, I think that the backend's $libdir actually corresponds to what
pg_config calls --pkglibdir. They are the same directory in some
configurations, but not all.
regards, tom lane