Skip to content

[Bug] create extension gp_debug_numsegments changes current search_path #59

@tuhaihe

Description

@tuhaihe

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?

  • Yes, I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions