Reorganize code to allow path-relative installs.
authorBruce Momjian <bruce@momjian.us>
Mon, 17 May 2004 14:35:34 +0000 (14:35 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 17 May 2004 14:35:34 +0000 (14:35 +0000)
commit3febb477e643c1cd37fc8d2d3e02685dce6d1196
treeadc5f3696ec9001b0bda4d9c0336c50c251c2f62
parent85383214ea2b0085658a650b4e6b293464dcf045
Reorganize code to allow path-relative installs.

Create new get_* functions to access compiled-in paths and adjust if
relative installs are to be used.

Clean up substitute_libpath_macro() code.
19 files changed:
src/backend/postmaster/postmaster.c
src/backend/tcop/postgres.c
src/backend/utils/fmgr/Makefile
src/backend/utils/fmgr/dfmgr.c
src/backend/utils/init/globals.c
src/bin/initdb/Makefile
src/bin/initdb/initdb.c
src/bin/psql/Makefile
src/bin/psql/startup.c
src/include/miscadmin.h
src/include/port.h
src/interfaces/ecpg/preproc/Makefile
src/interfaces/ecpg/preproc/ecpg.c
src/interfaces/libpq/Makefile
src/port/Makefile
src/port/exec.c
src/port/path.c
src/timezone/Makefile
src/timezone/pgtz.c