Fixed API test cases

pull/42/head
Akshay Joshi 2021-05-05 13:12:20 +05:30
parent b30ec71098
commit b13627398b
18 changed files with 26 additions and 26 deletions

View File

@ -2,7 +2,7 @@
-- DROP TABLE public."test_table_$%{}[]()&*^!@""""'`\/#"; -- DROP TABLE public."test_table_$%{}[]()&*^!@""""'`\/#";
CREATE TABLE public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_table_$%{}[]()&*^!@""""'`\/#"
( (
m_col bigint m_col bigint
) PARTITION BY RANGE (m_col) ) PARTITION BY RANGE (m_col)
@ -19,7 +19,7 @@ COMMENT ON TABLE public."test_table_$%{}[]()&*^!@""""'`\/#"
-- Partitions SQL -- Partitions SQL
CREATE TABLE public."test_part_$%{}[]()&*^!@""""""""'`\/#" PARTITION OF public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_part_$%{}[]()&*^!@""""""""'`\/#" PARTITION OF public."test_table_$%{}[]()&*^!@""""'`\/#"
FOR VALUES FROM ('0') TO ('1000'); FOR VALUES FROM ('0') TO ('1000');
ALTER TABLE public."test_part_$%{}[]()&*^!@""""""""'`\/#" ALTER TABLE public."test_part_$%{}[]()&*^!@""""""""'`\/#"

View File

@ -1,2 +1,2 @@
CREATE TABLE public."test_part_$%{}[]()&*^!@""""""""'`\/#" PARTITION OF public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_part_$%{}[]()&*^!@""""""""'`\/#" PARTITION OF public."test_table_$%{}[]()&*^!@""""'`\/#"
FOR VALUES FROM (0) TO (1000); FOR VALUES FROM (0) TO (1000);

View File

@ -2,7 +2,7 @@
-- DROP TABLE public."test_table_$%{}[]()&*^!@""""'`\/#"; -- DROP TABLE public."test_table_$%{}[]()&*^!@""""'`\/#";
CREATE TABLE public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_table_$%{}[]()&*^!@""""'`\/#"
( (
m_col bigint m_col bigint
) PARTITION BY RANGE (m_col) ) PARTITION BY RANGE (m_col)

View File

@ -1,4 +1,4 @@
CREATE TABLE public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_table_$%{}[]()&*^!@""""'`\/#"
( (
m_col bigint m_col bigint
) PARTITION BY RANGE (m_col) ) PARTITION BY RANGE (m_col)

View File

@ -2,7 +2,7 @@
-- DROP TABLE public."test_table_$%{}[]()&*^!@""""'`\/#"; -- DROP TABLE public."test_table_$%{}[]()&*^!@""""'`\/#";
CREATE TABLE public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_table_$%{}[]()&*^!@""""'`\/#"
( (
m_col bigint m_col bigint
) PARTITION BY RANGE (m_col); ) PARTITION BY RANGE (m_col);
@ -15,7 +15,7 @@ COMMENT ON TABLE public."test_table_$%{}[]()&*^!@""""'`\/#"
-- Partitions SQL -- Partitions SQL
CREATE TABLE public."test_part_$%{}[]()&*^!@""""""""'`\/#" PARTITION OF public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_part_$%{}[]()&*^!@""""""""'`\/#" PARTITION OF public."test_table_$%{}[]()&*^!@""""'`\/#"
FOR VALUES FROM ('0') TO ('1000'); FOR VALUES FROM ('0') TO ('1000');
ALTER TABLE public."test_part_$%{}[]()&*^!@""""""""'`\/#" ALTER TABLE public."test_part_$%{}[]()&*^!@""""""""'`\/#"

View File

@ -1,2 +1,2 @@
CREATE TABLE public."test_part_$%{}[]()&*^!@""""""""'`\/#" PARTITION OF public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_part_$%{}[]()&*^!@""""""""'`\/#" PARTITION OF public."test_table_$%{}[]()&*^!@""""'`\/#"
FOR VALUES FROM (0) TO (1000); FOR VALUES FROM (0) TO (1000);

View File

@ -2,7 +2,7 @@
-- DROP TABLE public."test_table_$%{}[]()&*^!@""""'`\/#"; -- DROP TABLE public."test_table_$%{}[]()&*^!@""""'`\/#";
CREATE TABLE public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_table_$%{}[]()&*^!@""""'`\/#"
( (
m_col bigint m_col bigint
) PARTITION BY RANGE (m_col); ) PARTITION BY RANGE (m_col);

View File

@ -1,4 +1,4 @@
CREATE TABLE public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_table_$%{}[]()&*^!@""""'`\/#"
( (
m_col bigint m_col bigint
) PARTITION BY RANGE (m_col); ) PARTITION BY RANGE (m_col);

View File

@ -2,7 +2,7 @@
-- DROP TABLE public."test_table_$%{}[]()&*^!@""""'`\/#"; -- DROP TABLE public."test_table_$%{}[]()&*^!@""""'`\/#";
CREATE TABLE public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_table_$%{}[]()&*^!@""""'`\/#"
( (
m_col bigint m_col bigint
) PARTITION BY RANGE (m_col) ) PARTITION BY RANGE (m_col)
@ -19,7 +19,7 @@ COMMENT ON TABLE public."test_table_$%{}[]()&*^!@""""'`\/#"
-- Partitions SQL -- Partitions SQL
CREATE TABLE public."test_part_$%{}[]()&*^!@""""""""'`\/#" PARTITION OF public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_part_$%{}[]()&*^!@""""""""'`\/#" PARTITION OF public."test_table_$%{}[]()&*^!@""""'`\/#"
FOR VALUES FROM ('0') TO ('1000'); FOR VALUES FROM ('0') TO ('1000');
ALTER TABLE public."test_part_$%{}[]()&*^!@""""""""'`\/#" ALTER TABLE public."test_part_$%{}[]()&*^!@""""""""'`\/#"

View File

@ -1,2 +1,2 @@
CREATE TABLE public."test_part_$%{}[]()&*^!@""""""""'`\/#" PARTITION OF public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_part_$%{}[]()&*^!@""""""""'`\/#" PARTITION OF public."test_table_$%{}[]()&*^!@""""'`\/#"
FOR VALUES FROM (0) TO (1000); FOR VALUES FROM (0) TO (1000);

View File

@ -2,7 +2,7 @@
-- DROP TABLE public."test_table_$%{}[]()&*^!@""""'`\/#"; -- DROP TABLE public."test_table_$%{}[]()&*^!@""""'`\/#";
CREATE TABLE public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_table_$%{}[]()&*^!@""""'`\/#"
( (
m_col bigint m_col bigint
) PARTITION BY RANGE (m_col) ) PARTITION BY RANGE (m_col)

View File

@ -1,4 +1,4 @@
CREATE TABLE public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_table_$%{}[]()&*^!@""""'`\/#"
( (
m_col bigint m_col bigint
) PARTITION BY RANGE (m_col) ) PARTITION BY RANGE (m_col)

View File

@ -2,7 +2,7 @@
-- DROP TABLE public."test_table_$%{}[]()&*^!@""""'`\/#"; -- DROP TABLE public."test_table_$%{}[]()&*^!@""""'`\/#";
CREATE TABLE public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_table_$%{}[]()&*^!@""""'`\/#"
( (
m_col bigint m_col bigint
) PARTITION BY RANGE (m_col); ) PARTITION BY RANGE (m_col);
@ -15,7 +15,7 @@ COMMENT ON TABLE public."test_table_$%{}[]()&*^!@""""'`\/#"
-- Partitions SQL -- Partitions SQL
CREATE TABLE public."test_part_$%{}[]()&*^!@""""""""'`\/#" PARTITION OF public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_part_$%{}[]()&*^!@""""""""'`\/#" PARTITION OF public."test_table_$%{}[]()&*^!@""""'`\/#"
FOR VALUES FROM ('0') TO ('1000'); FOR VALUES FROM ('0') TO ('1000');
ALTER TABLE public."test_part_$%{}[]()&*^!@""""""""'`\/#" ALTER TABLE public."test_part_$%{}[]()&*^!@""""""""'`\/#"

View File

@ -1,2 +1,2 @@
CREATE TABLE public."test_part_$%{}[]()&*^!@""""""""'`\/#" PARTITION OF public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_part_$%{}[]()&*^!@""""""""'`\/#" PARTITION OF public."test_table_$%{}[]()&*^!@""""'`\/#"
FOR VALUES FROM (0) TO (1000); FOR VALUES FROM (0) TO (1000);

View File

@ -2,7 +2,7 @@
-- DROP TABLE public."test_table_$%{}[]()&*^!@""""'`\/#"; -- DROP TABLE public."test_table_$%{}[]()&*^!@""""'`\/#";
CREATE TABLE public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_table_$%{}[]()&*^!@""""'`\/#"
( (
m_col bigint m_col bigint
) PARTITION BY RANGE (m_col); ) PARTITION BY RANGE (m_col);

View File

@ -1,4 +1,4 @@
CREATE TABLE public."test_table_$%{}[]()&*^!@""""'`\/#" CREATE TABLE IF NOT EXISTS public."test_table_$%{}[]()&*^!@""""'`\/#"
( (
m_col bigint m_col bigint
) PARTITION BY RANGE (m_col); ) PARTITION BY RANGE (m_col);

View File

@ -1,20 +1,20 @@
CREATE TABLE public.newtable1 CREATE TABLE IF NOT EXISTS public.newtable1
( (
id integer, id integer,
col1 character varying(50), col1 character varying(50),
PRIMARY KEY (id) PRIMARY KEY (id)
); );
CREATE TABLE public.newtable2 CREATE TABLE IF NOT EXISTS public.newtable2
( (
table1_id integer, table1_id integer,
col2 character varying(50), col2 character varying(50),
PRIMARY KEY (id) PRIMARY KEY (id)
); );
CREATE TABLE public.newtable3 CREATE TABLE IF NOT EXISTS public.newtable3
( (
) )
; ;

View File

@ -1,6 +1,6 @@
CREATE TABLE public.newtable1 CREATE TABLE IF NOT EXISTS public.newtable1
( (
id integer, id integer,
col1 character varying(50), col1 character varying(50),
@ -10,7 +10,7 @@ WITH (
OIDS = FALSE OIDS = FALSE
); );
CREATE TABLE public.newtable2 CREATE TABLE IF NOT EXISTS public.newtable2
( (
table1_id integer, table1_id integer,
col2 character varying(50), col2 character varying(50),
@ -20,7 +20,7 @@ WITH (
OIDS = FALSE OIDS = FALSE
); );
CREATE TABLE public.newtable3 CREATE TABLE IF NOT EXISTS public.newtable3
( (
) )