aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2013-06-12 22:28:24 -0400
committerPeter Eisentraut <peter_e@gmx.net>2013-07-12 21:23:50 -0400
commit070518ddab2c94afea119f2b1944c05d16792b07 (patch)
treea7b9a7c114037e9168d6953db9699e16ccae90e2 /src/backend/tcop/postgres.c
parentf3ab5d46960023cf8a9df3751ab9748ce01a46a0 (diff)
downloadpostgresql-070518ddab2c94afea119f2b1944c05d16792b07.tar.gz
postgresql-070518ddab2c94afea119f2b1944c05d16792b07.zip
Add session_preload_libraries configuration parameter
This is like shared_preload_libraries except that it takes effect at backend start and can be changed without a full postmaster restart. It is like local_preload_libraries except that it is still only settable by a superuser. This can be a better way to load modules such as auto_explain. Since there are now three preload parameters, regroup the documentation a bit. Put all parameters into one section, explain common functionality only once, update the descriptions to reflect current and future realities. Reviewed-by: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index c0667b24e17..ddd60dee4f4 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -3743,7 +3743,7 @@ PostgresMain(int argc, char *argv[],
* process any libraries that should be preloaded at backend start (this
* likewise can't be done until GUC settings are complete)
*/
- process_local_preload_libraries();
+ process_session_preload_libraries();
/*
* Send this backend's cancellation info to the frontend.