Fixed RESQL test case failure. #5470

This commit is contained in:
Pravesh Sharma 2022-12-09 14:09:01 +05:30 committed by GitHub
parent c752183199
commit d7eb9f723f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 24 additions and 12 deletions

View File

@ -22,7 +22,8 @@ COMMENT ON TABLE public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
-- Partitions SQL
CREATE TABLE public.cust_arr_small PARTITION OF public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
FOR VALUES FROM ('20') TO ('25');
FOR VALUES FROM ('20') TO ('25')
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.cust_arr_small
OWNER to postgres;

View File

@ -22,7 +22,8 @@ COMMENT ON TABLE public."table_with_patition_$%{}[]()&*^!@""'`\/#"
-- Partitions SQL
CREATE TABLE public.cust_active PARTITION OF public."table_with_patition_$%{}[]()&*^!@""'`\/#"
FOR VALUES IN ('ACTIVE');
FOR VALUES IN ('ACTIVE')
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.cust_active
OWNER to postgres;

View File

@ -19,7 +19,8 @@ ALTER TABLE IF EXISTS public."table_with_range_patition_$%{}[]()&*^!@""'`\/#"
-- Partitions SQL
CREATE TABLE public."cust_arr_small PARTITION" PARTITION OF public."table_with_range_patition_$%{}[]()&*^!@""'`\/#"
FOR VALUES FROM ('20') TO ('25');
FOR VALUES FROM ('20') TO ('25')
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public."cust_arr_small PARTITION"
OWNER to postgres;

View File

@ -22,7 +22,8 @@ COMMENT ON TABLE public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
-- Partitions SQL
CREATE TABLE IF NOT EXISTS public.cust_arr_small PARTITION OF public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
FOR VALUES FROM ('20') TO ('25');
FOR VALUES FROM ('20') TO ('25')
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.cust_arr_small
OWNER to enterprisedb;

View File

@ -22,7 +22,8 @@ COMMENT ON TABLE public."table_with_hash_patition_$%{}[]()&*^!@\""'`\\/#"
-- Partitions SQL
CREATE TABLE IF NOT EXISTS public.cust_part11 PARTITION OF public."table_with_hash_patition_$%{}[]()&*^!@\""'`\\/#"
FOR VALUES WITH (modulus 2, remainder 1);
FOR VALUES WITH (modulus 2, remainder 1)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.cust_part11
OWNER to enterprisedb;

View File

@ -18,7 +18,8 @@ COMMENT ON TABLE public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
-- Partitions SQL
CREATE TABLE IF NOT EXISTS public.cust_arr_small PARTITION OF public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
FOR VALUES FROM ('20') TO ('25');
FOR VALUES FROM ('20') TO ('25')
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.cust_arr_small
OWNER to enterprisedb;

View File

@ -18,7 +18,8 @@ COMMENT ON TABLE public."table_with_hash_patition_$%{}[]()&*^!@\""'`\\/#"
-- Partitions SQL
CREATE TABLE IF NOT EXISTS public.cust_part11 PARTITION OF public."table_with_hash_patition_$%{}[]()&*^!@\""'`\\/#"
FOR VALUES WITH (modulus 2, remainder 1);
FOR VALUES WITH (modulus 2, remainder 1)
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.cust_part11
OWNER to enterprisedb;

View File

@ -18,7 +18,8 @@ COMMENT ON TABLE public."table_with_patition_$%{}[]()&*^!@""'`\/#"
-- Partitions SQL
CREATE TABLE IF NOT EXISTS public.cust_active PARTITION OF public."table_with_patition_$%{}[]()&*^!@""'`\/#"
FOR VALUES IN ('ACTIVE');
FOR VALUES IN ('ACTIVE')
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.cust_active
OWNER to enterprisedb;

View File

@ -15,7 +15,8 @@ ALTER TABLE IF EXISTS public."table_with_range_patition_$%{}[]()&*^!@""'`\/#"
-- Partitions SQL
CREATE TABLE IF NOT EXISTS public."cust_arr_small PARTITION" PARTITION OF public."table_with_range_patition_$%{}[]()&*^!@""'`\/#"
FOR VALUES FROM ('20') TO ('25');
FOR VALUES FROM ('20') TO ('25')
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public."cust_arr_small PARTITION"
OWNER to enterprisedb;

View File

@ -22,7 +22,8 @@ COMMENT ON TABLE public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
-- Partitions SQL
CREATE TABLE IF NOT EXISTS public.cust_arr_small PARTITION OF public."partition_table_with_collate_$%{}[]()&*^!@""'`\/#"
FOR VALUES FROM ('20') TO ('25');
FOR VALUES FROM ('20') TO ('25')
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.cust_arr_small
OWNER to enterprisedb;

View File

@ -22,7 +22,8 @@ COMMENT ON TABLE public."table_with_patition_$%{}[]()&*^!@""'`\/#"
-- Partitions SQL
CREATE TABLE IF NOT EXISTS public.cust_active PARTITION OF public."table_with_patition_$%{}[]()&*^!@""'`\/#"
FOR VALUES IN ('ACTIVE');
FOR VALUES IN ('ACTIVE')
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public.cust_active
OWNER to enterprisedb;

View File

@ -19,7 +19,8 @@ ALTER TABLE IF EXISTS public."table_with_range_patition_$%{}[]()&*^!@""'`\/#"
-- Partitions SQL
CREATE TABLE IF NOT EXISTS public."cust_arr_small PARTITION" PARTITION OF public."table_with_range_patition_$%{}[]()&*^!@""'`\/#"
FOR VALUES FROM ('20') TO ('25');
FOR VALUES FROM ('20') TO ('25')
TABLESPACE pg_default;
ALTER TABLE IF EXISTS public."cust_arr_small PARTITION"
OWNER to enterprisedb;