With PgBouncer its track_extra_parameters setting you can make PgBouncer track other GUCs than the default few parameters (client_encoding, application_name, etc). But this only works for GUCs that have the GUC_REPORT flag set. Especially search_path is a GUC that people really want to track, but does not have GUC_REPORT set currently. We could easily set that from this extension, Citus actually does that. Getting support for this upstream would be best, but takes forever and doesn't work on old PG versions.
With PgBouncer its
track_extra_parameters
setting you can make PgBouncer track other GUCs than the default few parameters (client_encoding, application_name, etc). But this only works for GUCs that have the GUC_REPORT flag set. Especiallysearch_path
is a GUC that people really want to track, but does not have GUC_REPORT set currently. We could easily set that from this extension, Citus actually does that. Getting support for this upstream would be best, but takes forever and doesn't work on old PG versions.Relevant links: