diff options
| author | Jeff Davis | 2024-03-05 03:42:16 +0000 |
|---|---|---|
| committer | Jeff Davis | 2024-03-05 03:42:16 +0000 |
| commit | 59825d16399699e2f99016b9add46cb2d4916f82 (patch) | |
| tree | ea8d60b32711b06de70773059bbc3a70d5d76e00 /src/include | |
| parent | a37a3e2b36d7de965f974b8caca0c295833708f2 (diff) | |
Fix buildfarm failures from 2af07e2f74.
Use GUC_ACTION_SAVE rather than GUC_ACTION_SET, necessary for working
with parallel query.
Now that the call requires more arguments, wrap the call in a new
function to avoid code duplication and offer a place for a comment.
Discussion: https://postgr.es/m/E1rhJpO-0027Wf-9L@gemulon.postgresql.org
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/utils/guc.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h index 391d8d02120..3712aba09b0 100644 --- a/src/include/utils/guc.h +++ b/src/include/utils/guc.h @@ -204,12 +204,6 @@ typedef enum #define GUC_QUALIFIER_SEPARATOR '.' /* - * Safe search path when executing code as the table owner, such as during - * maintenance operations. - */ -#define GUC_SAFE_SEARCH_PATH "pg_catalog, pg_temp" - -/* * Bit values in "flags" of a GUC variable. Note that these don't appear * on disk, so we can reassign their values freely. */ @@ -378,6 +372,7 @@ extern bool SelectConfigFiles(const char *userDoption, const char *progname); extern void ResetAllOptions(void); extern void AtStart_GUC(void); extern int NewGUCNestLevel(void); +extern void RestrictSearchPath(void); extern void AtEOXact_GUC(bool isCommit, int nestLevel); extern void BeginReportingGUCOptions(void); extern void ReportChangedGUCOptions(void); |
