Re: Re: RPM source files should be in CVS (was Re: [GENERAL] psql -l) - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Re: RPM source files should be in CVS (was Re: [GENERAL] psql -l)
Date
Msg-id 5958.995673364@sss.pgh.pa.us
Whole thread Raw
In response to Re: Re: RPM source files should be in CVS (was Re: [GENERAL] psql -l)  (Lamar Owen <lamar.owen@wgcr.org>)
Responses Re: Re: RPM source files should be in CVS (was Re: [GENERAL] psql -l)  (Lamar Owen <lamar.owen@wgcr.org>)
List pgsql-hackers
Lamar Owen <lamar.owen@wgcr.org> writes:
> How is this search path defined?  Blindly using libdir is not ok -- 

Why not?

The search path is defined in postgresql.conf (and I see Peter forgot
to add an example to the postgresql.conf.sample file), but the default
is the backend-compile-time $libdir.  Offhand I don't see what's wrong
with it.

> libdir!=PGLIB, and PGLIB may not be defined in the environment -- it
> might be there, but we can't count on it.

AFAICT we do not depend on environment PGLIB any more.  Configure-time
$libdir is what counts.

> If this function search path can be configured to search in
> /usr/lib/pgsql and all or any of its subs, while libpq and kin live in
> /usr/lib, I _will_ be happy.

I think all you need to do is set up postgresql.conf that way.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Lamar Owen
Date:
Subject: Re: Re: RPM source files should be in CVS (was Re: [GENERAL] psql -l)
Next
From: Thomas Lockhart
Date:
Subject: Re: RPM source files should be in CVS (was Re: [GENERAL] psql -l)