mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
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.
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/utils/init/globals.c,v 1.85 2004/05/13 22:45:03 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/utils/init/globals.c,v 1.86 2004/05/17 14:35:32 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* Globals used all over the place should be declared here and not
|
||||
@@ -46,6 +46,7 @@ char *DataDir = NULL;
|
||||
char OutputFileName[MAXPGPATH];
|
||||
|
||||
char my_exec_path[MAXPGPATH]; /* full path to postgres executable */
|
||||
char pkglib_path[MAXPGPATH]; /* full path to lib directory */
|
||||
|
||||
BackendId MyBackendId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user