Cloudberry Database version
Greenplum version 7
What happened
when creating extension gp_debug_numsegments changes current search_path, drop currrent search_path.
What you think should happen instead
Should not drop current search_path.
How to reproduce
gpadmin=# show search_path ;
search_path
-----------------
"$user", public
(1 row)
gpadmin=# create schema xmen;
CREATE SCHEMA
gpadmin=# set search_path to xmen;
SET
gpadmin=# show search_path ;
search_path
-------------
xmen
(1 row)
gpadmin=# CREATE EXTENSION IF NOT EXISTS gp_debug_numsegments;
CREATE EXTENSION
gpadmin=# show search_path ;
search_path
-------------
public
(1 row)
See https://github.com/greenplum-db/gpdb/issues/15912
Operating System
Linux
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Cloudberry Database version
Greenplum version 7
What happened
when creating extension
gp_debug_numsegmentschanges current search_path, drop currrent search_path.What you think should happen instead
Should not drop current search_path.
How to reproduce
See https://github.com/greenplum-db/gpdb/issues/15912
Operating System
Linux
Anything else
No response
Are you willing to submit PR?
Code of Conduct