aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/cluster.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/cluster.c
parenta1cd982098c8f6a714870ae512b4a9cdeacb9440 (diff)
downloadpostgresql-2fcc7ee7affe2fb708d7b2727e93981216b5d2f8.tar.gz
postgresql-2fcc7ee7affe2fb708d7b2727e93981216b5d2f8.zip
Revert "Fix search_path to a safe value during maintenance operations."
This reverts commit 05e17373517114167d002494e004fa0aa32d1fd1.
Diffstat (limited to 'src/backend/commands/cluster.c')
-rw-r--r--src/backend/commands/cluster.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/backend/commands/cluster.c b/src/backend/commands/cluster.c
index c94a3e20d61..369fea7c046 100644
--- a/src/backend/commands/cluster.c
+++ b/src/backend/commands/cluster.c
@@ -355,8 +355,6 @@ cluster_rel(Oid tableOid, Oid indexOid, ClusterParams *params)
SetUserIdAndSecContext(OldHeap->rd_rel->relowner,
save_sec_context | SECURITY_RESTRICTED_OPERATION);
save_nestlevel = NewGUCNestLevel();
- SetConfigOption("search_path", GUC_SAFE_SEARCH_PATH, PGC_USERSET,
- PGC_S_SESSION);
/*
* Since we may open a new transaction for each relation, we have to check