Skip to content

Commit

Permalink
[#23197] YSQL: pg_partman: Disable Gist index creation
Browse files Browse the repository at this point in the history
Summary:
Disable creating gist index on `custom_time_partitions` table in pg_partman
as it GIST index creation is not supported.
Jira: DB-12139

Test Plan: jenkins: compile only

Reviewers: jason, skumar

Reviewed By: jason

Subscribers: yql

Differential Revision: https://phorge.dev.yugabyte.com/D36568
  • Loading branch information
Devansh Saxena committed Jul 16, 2024
1 parent 52f7e79 commit 66ed3a5
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ CREATE TABLE @extschema@.custom_time_partitions (
, child_table text NOT NULL
, partition_range tstzrange NOT NULL
, PRIMARY KEY (parent_table, child_table));
/* YB: GIST index not supported
CREATE INDEX custom_time_partitions_partition_range_idx ON @extschema@.custom_time_partitions USING gist (partition_range);
*/
SELECT pg_catalog.pg_extension_config_dump('custom_time_partitions', '');

/*
Expand Down

0 comments on commit 66ed3a5

Please sign in to comment.