mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
This patch fixes shared_preload_libraries on Windows hosts. It forces
ach backend to re-load all shared_preload_libraries. Korry Douglas
This commit is contained in:
@ -37,7 +37,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.517 2007/02/07 16:44:48 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.518 2007/02/08 15:46:04 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
*
|
||||
@ -3360,6 +3360,15 @@ SubPostmasterMain(int argc, char *argv[])
|
||||
secure_initialize();
|
||||
#endif
|
||||
|
||||
/*
|
||||
* process any libraries that should be preloaded at postmaster start
|
||||
*
|
||||
* NOTE: we have to re-load the shared_preload_libraries here because
|
||||
* this backend is not fork()ed so we can't inherit any shared
|
||||
* libraries / DLL's from our parent (the postmaster).
|
||||
*/
|
||||
process_shared_preload_libraries();
|
||||
|
||||
/*
|
||||
* Perform additional initialization and client authentication.
|
||||
*
|
||||
|
Reference in New Issue
Block a user