Fixed RESQL test cases for Partition table using COLLATE.

pull/61/head
Akshay Joshi 2021-09-20 20:10:24 +05:30
parent 522a92586a
commit 56a17f7c8e
9 changed files with 38 additions and 10 deletions

View File

@ -7,7 +7,11 @@ CREATE TABLE IF NOT EXISTS public."partition_table_with_collate_$%{}[]()&*^!@""'
id integer,
status text COLLATE pg_catalog."default",
arr numeric
) PARTITION BY RANGE (status COLLATE "C" text_pattern_ops);
) PARTITION BY RANGE (status COLLATE "C" text_pattern_ops)
WITH (
OIDS = FALSE
)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
OWNER to postgres;

View File

@ -3,7 +3,10 @@ CREATE TABLE IF NOT EXISTS public."partition_table_with_collate_$%{}[]()&*^!@""'
id integer,
status text,
arr numeric
) PARTITION BY RANGE (status COLLATE "C" text_pattern_ops);
) PARTITION BY RANGE (status COLLATE "C" text_pattern_ops)
WITH (
OIDS = FALSE
);
ALTER TABLE IF EXISTS public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
OWNER to postgres;

View File

@ -7,7 +7,11 @@ CREATE TABLE IF NOT EXISTS public."partition_table_with_collate_$%{}[]()&*^!@""'
id integer,
status text COLLATE pg_catalog."default",
arr numeric
) PARTITION BY RANGE (status COLLATE "C" text_pattern_ops);
) PARTITION BY RANGE (status COLLATE "C" text_pattern_ops)
WITH (
OIDS = FALSE
)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
OWNER to postgres;

View File

@ -1,9 +1,12 @@
CREATE TABLE IF NOT EXISTS public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
(
id integer,
status text COLLATE pg_catalog."default",
status text,
arr numeric
) PARTITION BY RANGE (status COLLATE "C" text_pattern_ops);
) PARTITION BY RANGE (status COLLATE "C" text_pattern_ops)
WITH (
OIDS = FALSE
);
ALTER TABLE IF EXISTS public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
OWNER to postgres;

View File

@ -1949,7 +1949,7 @@
"msql_endpoint": "NODE-table.msql",
"data": {
"name": "partition_table_with_collate_$%{}[]()&*^!@\"'`\\/#",
"relowner": "enterprisedb",
"relowner": "postgres",
"relacl": [],
"description": "partition table",
"coll_inherits": "[]",

View File

@ -7,7 +7,11 @@ CREATE TABLE IF NOT EXISTS public."partition_table_with_collate_$%{}[]()&*^!@""'
id integer,
status text COLLATE pg_catalog."default",
arr numeric
) PARTITION BY RANGE (status COLLATE "C" text_pattern_ops);
) PARTITION BY RANGE (status COLLATE "C" text_pattern_ops)
WITH (
OIDS = FALSE
)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
OWNER to enterprisedb;

View File

@ -3,7 +3,10 @@ CREATE TABLE IF NOT EXISTS public."partition_table_with_collate_$%{}[]()&*^!@""'
id integer,
status text,
arr numeric
) PARTITION BY RANGE (status COLLATE "C" text_pattern_ops);
) PARTITION BY RANGE (status COLLATE "C" text_pattern_ops)
WITH (
OIDS = FALSE
);
ALTER TABLE IF EXISTS public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
OWNER to enterprisedb;

View File

@ -7,7 +7,11 @@ CREATE TABLE IF NOT EXISTS public."partition_table_with_collate_$%{}[]()&*^!@""'
id integer,
status text COLLATE pg_catalog."default",
arr numeric
) PARTITION BY RANGE (status COLLATE "C" text_pattern_ops);
) PARTITION BY RANGE (status COLLATE "C" text_pattern_ops)
WITH (
OIDS = FALSE
)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
OWNER to enterprisedb;

View File

@ -3,7 +3,10 @@ CREATE TABLE IF NOT EXISTS public."partition_table_with_collate_$%{}[]()&*^!@""'
id integer,
status text,
arr numeric
) PARTITION BY RANGE (status COLLATE "C" text_pattern_ops);
) PARTITION BY RANGE (status COLLATE "C" text_pattern_ops)
WITH (
OIDS = FALSE
);
ALTER TABLE IF EXISTS public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
OWNER to enterprisedb;