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.
Showing
- src/backend/postmaster/postmaster.c 3 additions, 1 deletionsrc/backend/postmaster/postmaster.c
- src/backend/tcop/postgres.c 4 additions, 1 deletionsrc/backend/tcop/postgres.c
- src/backend/utils/fmgr/Makefile 2 additions, 2 deletionssrc/backend/utils/fmgr/Makefile
- src/backend/utils/fmgr/dfmgr.c 13 additions, 52 deletionssrc/backend/utils/fmgr/dfmgr.c
- src/backend/utils/init/globals.c 2 additions, 1 deletionsrc/backend/utils/init/globals.c
- src/bin/initdb/Makefile 2 additions, 2 deletionssrc/bin/initdb/Makefile
- src/bin/initdb/initdb.c 19 additions, 16 deletionssrc/bin/initdb/initdb.c
- src/bin/psql/Makefile 8 additions, 4 deletionssrc/bin/psql/Makefile
- src/bin/psql/startup.c 13 additions, 11 deletionssrc/bin/psql/startup.c
- src/include/miscadmin.h 2 additions, 1 deletionsrc/include/miscadmin.h
- src/include/port.h 7 additions, 9 deletionssrc/include/port.h
- src/interfaces/ecpg/preproc/Makefile 8 additions, 7 deletionssrc/interfaces/ecpg/preproc/Makefile
- src/interfaces/ecpg/preproc/ecpg.c 15 additions, 4 deletionssrc/interfaces/ecpg/preproc/ecpg.c
- src/interfaces/libpq/Makefile 8 additions, 2 deletionssrc/interfaces/libpq/Makefile
- src/port/Makefile 8 additions, 1 deletionsrc/port/Makefile
- src/port/exec.c 18 additions, 1 deletionsrc/port/exec.c
- src/port/path.c 241 additions, 37 deletionssrc/port/path.c
- src/timezone/Makefile 1 addition, 3 deletionssrc/timezone/Makefile
- src/timezone/pgtz.c 2 additions, 17 deletionssrc/timezone/pgtz.c
Loading
Please register or sign in to comment