1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00

Revert "Fix search_path to a safe value during maintenance operations."

This reverts commit 05e1737351.
This commit is contained in:
Jeff Davis
2023-06-10 08:11:02 -07:00
parent a1cd982098
commit 2fcc7ee7af
15 changed files with 16 additions and 48 deletions

View File

@ -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