Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions gpcontrib/gp_debug_numsegments/gp_debug_numsegments--1.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION gp_debug_numsegments" to load this file. \quit

SET search_path = public;

-- This function set the default numsegments when creating tables.
-- This form accepts a text argument: 'full', 'minimal', 'random'.
CREATE OR REPLACE FUNCTION gp_debug_set_create_table_default_numsegments(text) RETURNS text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
comment = 'get / set default numsegments when creating tables'
default_version = '1.0'
module_pathname = '$libdir/gp_debug_numsegments'
relocatable = true
schema = public
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION gp_distribution_policy" to load this file. \quit

SET search_path = public;

-- This function validates the data distribution in a table in a segment.
CREATE OR REPLACE FUNCTION gp_distribution_policy_table_check(relid regclass)
RETURNS boolean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
comment = 'check distribution policy in a GPDB cluster'
default_version = '1.0'
module_pathname = '$libdir/gp_distribution_policy'
relocatable = true
schema = public
7 changes: 0 additions & 7 deletions gpcontrib/gp_internal_tools/gp_internal_tools--1.0.0.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@
--------------------------------------------------------------------------------
-- Session state functions and views --
--------------------------------------------------------------------------------
-- Adjust this setting to control where the objects get created.

CREATE SCHEMA session_state;
SET search_path = session_state;

-- SessionState views
--------------------------------------------------------------------------------

Expand Down Expand Up @@ -105,5 +100,3 @@ pg_stat_activity as S
ON M.sessionid = S.sess_id;

GRANT SELECT ON session_level_memory_consumption TO public;

SET search_path TO DEFAULT;
2 changes: 1 addition & 1 deletion gpcontrib/gp_internal_tools/gp_internal_tools.control
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
comment = 'Different internal tools for Cloudberry Database'
default_version = '1.0.0'
relocatable = true
schema = session_state
6 changes: 0 additions & 6 deletions gpcontrib/gp_sparse_vector/gp_sparse_vector--1.0.1.sql
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "CREATE EXTENSION gp_sparse_vector" to load this file. \quit

CREATE SCHEMA sparse_vector;

SET search_path TO sparse_vector;

DROP TYPE IF EXISTS svec CASCADE;
CREATE TYPE svec;

Expand Down Expand Up @@ -373,5 +369,3 @@ OPERATOR 3 == ,
OPERATOR 4 >= ,
OPERATOR 5 > ,
FUNCTION 1 svec_l2_cmp(svec, svec);

SET search_path TO DEFAULT;
2 changes: 1 addition & 1 deletion gpcontrib/gp_sparse_vector/gp_sparse_vector.control
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
comment = 'SParse vector implementation for GreenPlum'
default_version = '1.0.1'
relocatable = true
schema = sparse_vector