@@ -1475,8 +1475,6 @@ index_concurrently_build(Oid heapRelationId,
14751475 SetUserIdAndSecContext (heapRel -> rd_rel -> relowner ,
14761476 save_sec_context | SECURITY_RESTRICTED_OPERATION );
14771477 save_nestlevel = NewGUCNestLevel ();
1478- SetConfigOption ("search_path" , GUC_SAFE_SEARCH_PATH , PGC_USERSET ,
1479- PGC_S_SESSION );
14801478
14811479 indexRelation = index_open (indexRelationId , RowExclusiveLock );
14821480
@@ -3008,8 +3006,6 @@ index_build(Relation heapRelation,
30083006 SetUserIdAndSecContext (heapRelation -> rd_rel -> relowner ,
30093007 save_sec_context | SECURITY_RESTRICTED_OPERATION );
30103008 save_nestlevel = NewGUCNestLevel ();
3011- SetConfigOption ("search_path" , GUC_SAFE_SEARCH_PATH , PGC_USERSET ,
3012- PGC_S_SESSION );
30133009
30143010 /* Set up initial progress report status */
30153011 {
@@ -3345,8 +3341,6 @@ validate_index(Oid heapId, Oid indexId, Snapshot snapshot)
33453341 SetUserIdAndSecContext (heapRelation -> rd_rel -> relowner ,
33463342 save_sec_context | SECURITY_RESTRICTED_OPERATION );
33473343 save_nestlevel = NewGUCNestLevel ();
3348- SetConfigOption ("search_path" , GUC_SAFE_SEARCH_PATH , PGC_USERSET ,
3349- PGC_S_SESSION );
33503344
33513345 indexRelation = index_open (indexId , RowExclusiveLock );
33523346
@@ -3607,8 +3601,6 @@ reindex_index(Oid indexId, bool skip_constraint_checks, char persistence,
36073601 SetUserIdAndSecContext (heapRelation -> rd_rel -> relowner ,
36083602 save_sec_context | SECURITY_RESTRICTED_OPERATION );
36093603 save_nestlevel = NewGUCNestLevel ();
3610- SetConfigOption ("search_path" , GUC_SAFE_SEARCH_PATH , PGC_USERSET ,
3611- PGC_S_SESSION );
36123604
36133605 if (progress )
36143606 {
0 commit comments