summaryrefslogtreecommitdiff
path: root/src/backend/commands/matview.c
diff options
context:
space:
mode:
authorJeff Davis <jdavis@postgresql.org>2023-06-10 08:11:02 -0700
committerJeff Davis <jdavis@postgresql.org>2023-06-10 08:11:41 -0700
commit2fcc7ee7affe2fb708d7b2727e93981216b5d2f8 (patch)
tree76aead4238902c2ea4569bf63e61a1c804c8f4ee /src/backend/commands/matview.c
parenta1cd982098c8f6a714870ae512b4a9cdeacb9440 (diff)
Revert "Fix search_path to a safe value during maintenance operations."
This reverts commit 05e17373517114167d002494e004fa0aa32d1fd1.
Diffstat (limited to 'src/backend/commands/matview.c')
-rw-r--r--src/backend/commands/matview.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/backend/commands/matview.c b/src/backend/commands/matview.c
index 9114a7924c8..f9a3bdfc3ab 100644
--- a/src/backend/commands/matview.c
+++ b/src/backend/commands/matview.c
@@ -179,8 +179,6 @@ ExecRefreshMatView(RefreshMatViewStmt *stmt, const char *queryString,
SetUserIdAndSecContext(relowner,
save_sec_context | SECURITY_RESTRICTED_OPERATION);
save_nestlevel = NewGUCNestLevel();
- SetConfigOption("search_path", GUC_SAFE_SEARCH_PATH, PGC_USERSET,
- PGC_S_SESSION);
/* Make sure it is a materialized view. */
if (matviewRel->rd_rel->relkind != RELKIND_MATVIEW)