pgsql/src/bin/scripts Makefile createlang.sh

Started by Peter Eisentraut - PostgreSQLover 24 years ago3 messages

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: petere@hub.org 01/05/23 18:00:44

Modified files:
src/bin/scripts: Makefile createlang.sh

Log message:
Make createlang use dynamic loader enhancements (automatic path and suffix).

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut - PostgreSQL (#1)
Re: [COMMITTERS] pgsql/src/bin/scripts Makefile createlang.sh

Peter Eisentraut - PostgreSQL <petere@hub.org> writes:

Make createlang use dynamic loader enhancements (automatic path and suffix).

I observe that createlang still builds full paths for me. Evidently
this is because I have PGLIB set in my environment. I propose that
createlang ought not pay attention to an environment PGLIB anymore,
but should only set a full path if forced to by an explicit -L switch.
Thoughts?

regards, tom lane

#3Peter Eisentraut
peter_e@gmx.net
In reply to: Tom Lane (#2)
Re: [COMMITTERS] pgsql/src/bin/scripts Makefile createlang.sh

Tom Lane writes:

Peter Eisentraut - PostgreSQL <petere@hub.org> writes:

Make createlang use dynamic loader enhancements (automatic path and suffix).

I observe that createlang still builds full paths for me. Evidently
this is because I have PGLIB set in my environment. I propose that
createlang ought not pay attention to an environment PGLIB anymore,
but should only set a full path if forced to by an explicit -L switch.

It wasn't supposed to pay attention to PGLIB at least since 7.0. I guess
it slipped by, I'll disable it now.

--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter