@ -742,8 +742,6 @@ COMMENT ON COLUMN ft1.c1 IS 'ft1.c1';
Check constraints:
Check constraints:
"ft1_c2_check" CHECK (c2 <> ''::text)
"ft1_c2_check" CHECK (c2 <> ''::text)
"ft1_c3_check" CHECK (c3 >= '01-01-1994'::date AND c3 <= '01-31-1994'::date)
"ft1_c3_check" CHECK (c3 >= '01-01-1994'::date AND c3 <= '01-31-1994'::date)
Not-null constraints:
"ft1_c1_not_null" NOT NULL "c1"
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
@ -866,9 +864,6 @@ ALTER FOREIGN TABLE ft1 ALTER COLUMN c8 SET STORAGE PLAIN;
Check constraints:
Check constraints:
"ft1_c2_check" CHECK (c2 <> ''::text)
"ft1_c2_check" CHECK (c2 <> ''::text)
"ft1_c3_check" CHECK (c3 >= '01-01-1994'::date AND c3 <= '01-31-1994'::date)
"ft1_c3_check" CHECK (c3 >= '01-01-1994'::date AND c3 <= '01-31-1994'::date)
Not-null constraints:
"ft1_c1_not_null" NOT NULL "c1"
"ft1_c6_not_null" NOT NULL "c6"
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
@ -1414,8 +1409,6 @@ CREATE FOREIGN TABLE ft2 () INHERITS (fd_pt1)
c1 | integer | | not null | | plain | |
c1 | integer | | not null | | plain | |
c2 | text | | | | extended | |
c2 | text | | | | extended | |
c3 | date | | | | plain | |
c3 | date | | | | plain | |
Not-null constraints:
"fd_pt1_c1_not_null" NOT NULL "c1"
Child tables: ft2, FOREIGN
Child tables: ft2, FOREIGN
\d+ ft2
\d+ ft2
@ -1425,8 +1418,6 @@ Child tables: ft2, FOREIGN
c1 | integer | | not null | | | plain | |
c1 | integer | | not null | | | plain | |
c2 | text | | | | | extended | |
c2 | text | | | | | extended | |
c3 | date | | | | | plain | |
c3 | date | | | | | plain | |
Not-null constraints:
"fd_pt1_c1_not_null" NOT NULL "c1" (inherited)
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
Inherits: fd_pt1
Inherits: fd_pt1
@ -1439,8 +1430,6 @@ DROP FOREIGN TABLE ft2;
c1 | integer | | not null | | plain | |
c1 | integer | | not null | | plain | |
c2 | text | | | | extended | |
c2 | text | | | | extended | |
c3 | date | | | | plain | |
c3 | date | | | | plain | |
Not-null constraints:
"fd_pt1_c1_not_null" NOT NULL "c1"
CREATE FOREIGN TABLE ft2 (
CREATE FOREIGN TABLE ft2 (
c1 integer NOT NULL,
c1 integer NOT NULL,
@ -1454,8 +1443,6 @@ CREATE FOREIGN TABLE ft2 (
c1 | integer | | not null | | | plain | |
c1 | integer | | not null | | | plain | |
c2 | text | | | | | extended | |
c2 | text | | | | | extended | |
c3 | date | | | | | plain | |
c3 | date | | | | | plain | |
Not-null constraints:
"ft2_c1_not_null" NOT NULL "c1"
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
@ -1467,8 +1454,6 @@ ALTER FOREIGN TABLE ft2 INHERIT fd_pt1;
c1 | integer | | not null | | plain | |
c1 | integer | | not null | | plain | |
c2 | text | | | | extended | |
c2 | text | | | | extended | |
c3 | date | | | | plain | |
c3 | date | | | | plain | |
Not-null constraints:
"fd_pt1_c1_not_null" NOT NULL "c1"
Child tables: ft2, FOREIGN
Child tables: ft2, FOREIGN
\d+ ft2
\d+ ft2
@ -1478,8 +1463,6 @@ Child tables: ft2, FOREIGN
c1 | integer | | not null | | | plain | |
c1 | integer | | not null | | | plain | |
c2 | text | | | | | extended | |
c2 | text | | | | | extended | |
c3 | date | | | | | plain | |
c3 | date | | | | | plain | |
Not-null constraints:
"ft2_c1_not_null" NOT NULL "c1" (local, inherited)
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
Inherits: fd_pt1
Inherits: fd_pt1
@ -1501,8 +1484,6 @@ NOTICE: merging column "c3" with inherited definition
c1 | integer | | not null | | | plain | |
c1 | integer | | not null | | | plain | |
c2 | text | | | | | extended | |
c2 | text | | | | | extended | |
c3 | date | | | | | plain | |
c3 | date | | | | | plain | |
Not-null constraints:
"ft2_c1_not_null" NOT NULL "c1" (local, inherited)
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
Inherits: fd_pt1
Inherits: fd_pt1
@ -1516,8 +1497,6 @@ Child tables: ct3,
c1 | integer | | not null | | plain | |
c1 | integer | | not null | | plain | |
c2 | text | | | | extended | |
c2 | text | | | | extended | |
c3 | date | | | | plain | |
c3 | date | | | | plain | |
Not-null constraints:
"ft2_c1_not_null" NOT NULL "c1" (inherited)
Inherits: ft2
Inherits: ft2
\d+ ft3
\d+ ft3
@ -1527,8 +1506,6 @@ Inherits: ft2
c1 | integer | | not null | | | plain | |
c1 | integer | | not null | | | plain | |
c2 | text | | | | | extended | |
c2 | text | | | | | extended | |
c3 | date | | | | | plain | |
c3 | date | | | | | plain | |
Not-null constraints:
"ft3_c1_not_null" NOT NULL "c1" (local, inherited)
Server: s0
Server: s0
Inherits: ft2
Inherits: ft2
@ -1550,9 +1527,6 @@ ALTER TABLE fd_pt1 ADD COLUMN c8 integer;
c6 | integer | | | | plain | |
c6 | integer | | | | plain | |
c7 | integer | | not null | | plain | |
c7 | integer | | not null | | plain | |
c8 | integer | | | | plain | |
c8 | integer | | | | plain | |
Not-null constraints:
"fd_pt1_c1_not_null" NOT NULL "c1"
"fd_pt1_c7_not_null" NOT NULL "c7"
Child tables: ft2, FOREIGN
Child tables: ft2, FOREIGN
\d+ ft2
\d+ ft2
@ -1567,9 +1541,6 @@ Child tables: ft2, FOREIGN
c6 | integer | | | | | plain | |
c6 | integer | | | | | plain | |
c7 | integer | | not null | | | plain | |
c7 | integer | | not null | | | plain | |
c8 | integer | | | | | plain | |
c8 | integer | | | | | plain | |
Not-null constraints:
"ft2_c1_not_null" NOT NULL "c1" (local, inherited)
"fd_pt1_c7_not_null" NOT NULL "c7" (inherited)
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
Inherits: fd_pt1
Inherits: fd_pt1
@ -1588,9 +1559,6 @@ Child tables: ct3,
c6 | integer | | | | plain | |
c6 | integer | | | | plain | |
c7 | integer | | not null | | plain | |
c7 | integer | | not null | | plain | |
c8 | integer | | | | plain | |
c8 | integer | | | | plain | |
Not-null constraints:
"ft2_c1_not_null" NOT NULL "c1" (inherited)
"fd_pt1_c7_not_null" NOT NULL "c7" (inherited)
Inherits: ft2
Inherits: ft2
\d+ ft3
\d+ ft3
@ -1605,9 +1573,6 @@ Inherits: ft2
c6 | integer | | | | | plain | |
c6 | integer | | | | | plain | |
c7 | integer | | not null | | | plain | |
c7 | integer | | not null | | | plain | |
c8 | integer | | | | | plain | |
c8 | integer | | | | | plain | |
Not-null constraints:
"ft3_c1_not_null" NOT NULL "c1" (local, inherited)
"fd_pt1_c7_not_null" NOT NULL "c7" (inherited)
Server: s0
Server: s0
Inherits: ft2
Inherits: ft2
@ -1636,9 +1601,6 @@ ALTER TABLE fd_pt1 ALTER COLUMN c8 SET STORAGE EXTERNAL;
c6 | integer | | not null | | plain | |
c6 | integer | | not null | | plain | |
c7 | integer | | | | plain | |
c7 | integer | | | | plain | |
c8 | text | | | | external | |
c8 | text | | | | external | |
Not-null constraints:
"fd_pt1_c1_not_null" NOT NULL "c1"
"fd_pt1_c6_not_null" NOT NULL "c6"
Child tables: ft2, FOREIGN
Child tables: ft2, FOREIGN
\d+ ft2
\d+ ft2
@ -1653,9 +1615,6 @@ Child tables: ft2, FOREIGN
c6 | integer | | not null | | | plain | |
c6 | integer | | not null | | | plain | |
c7 | integer | | | | | plain | |
c7 | integer | | | | | plain | |
c8 | text | | | | | external | |
c8 | text | | | | | external | |
Not-null constraints:
"ft2_c1_not_null" NOT NULL "c1" (local, inherited)
"fd_pt1_c6_not_null" NOT NULL "c6" (inherited)
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
Inherits: fd_pt1
Inherits: fd_pt1
@ -1675,8 +1634,6 @@ ALTER TABLE fd_pt1 DROP COLUMN c8;
c1 | integer | | not null | | plain | 10000 |
c1 | integer | | not null | | plain | 10000 |
c2 | text | | | | extended | |
c2 | text | | | | extended | |
c3 | date | | | | plain | |
c3 | date | | | | plain | |
Not-null constraints:
"fd_pt1_c1_not_null" NOT NULL "c1"
Child tables: ft2, FOREIGN
Child tables: ft2, FOREIGN
\d+ ft2
\d+ ft2
@ -1686,8 +1643,6 @@ Child tables: ft2, FOREIGN
c1 | integer | | not null | | | plain | 10000 |
c1 | integer | | not null | | | plain | 10000 |
c2 | text | | | | | extended | |
c2 | text | | | | | extended | |
c3 | date | | | | | plain | |
c3 | date | | | | | plain | |
Not-null constraints:
"ft2_c1_not_null" NOT NULL "c1" (local, inherited)
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
Inherits: fd_pt1
Inherits: fd_pt1
@ -1702,12 +1657,11 @@ SELECT relname, conname, contype, conislocal, coninhcount, connoinherit
FROM pg_class AS pc JOIN pg_constraint AS pgc ON (conrelid = pc.oid)
FROM pg_class AS pc JOIN pg_constraint AS pgc ON (conrelid = pc.oid)
WHERE pc.relname = 'fd_pt1'
WHERE pc.relname = 'fd_pt1'
ORDER BY 1,2;
ORDER BY 1,2;
relname | conname | contype | conislocal | coninhcount | connoinherit
relname | conname | contype | conislocal | coninhcount | connoinherit
---------+--------------------+---------+------------+-------------+--------------
---------+------------+---------+------------+-------------+--------------
fd_pt1 | fd_pt1_c1_not_null | n | t | 0 | f
fd_pt1 | fd_pt1chk1 | c | t | 0 | t
fd_pt1 | fd_pt1chk1 | c | t | 0 | t
fd_pt1 | fd_pt1chk2 | c | t | 0 | f
fd_pt1 | fd_pt1chk2 | c | t | 0 | f
(2 rows)
(3 rows)
-- child does not inherit NO INHERIT constraints
-- child does not inherit NO INHERIT constraints
\d+ fd_pt1
\d+ fd_pt1
@ -1720,8 +1674,6 @@ SELECT relname, conname, contype, conislocal, coninhcount, connoinherit
Check constraints:
Check constraints:
"fd_pt1chk1" CHECK (c1 > 0) NO INHERIT
"fd_pt1chk1" CHECK (c1 > 0) NO INHERIT
"fd_pt1chk2" CHECK (c2 <> ''::text)
"fd_pt1chk2" CHECK (c2 <> ''::text)
Not-null constraints:
"fd_pt1_c1_not_null" NOT NULL "c1"
Child tables: ft2, FOREIGN
Child tables: ft2, FOREIGN
\d+ ft2
\d+ ft2
@ -1733,8 +1685,6 @@ Child tables: ft2, FOREIGN
c3 | date | | | | | plain | |
c3 | date | | | | | plain | |
Check constraints:
Check constraints:
"fd_pt1chk2" CHECK (c2 <> ''::text)
"fd_pt1chk2" CHECK (c2 <> ''::text)
Not-null constraints:
"ft2_c1_not_null" NOT NULL "c1" (local, inherited)
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
Inherits: fd_pt1
Inherits: fd_pt1
@ -1771,8 +1721,6 @@ ALTER FOREIGN TABLE ft2 INHERIT fd_pt1;
Check constraints:
Check constraints:
"fd_pt1chk1" CHECK (c1 > 0) NO INHERIT
"fd_pt1chk1" CHECK (c1 > 0) NO INHERIT
"fd_pt1chk2" CHECK (c2 <> ''::text)
"fd_pt1chk2" CHECK (c2 <> ''::text)
Not-null constraints:
"fd_pt1_c1_not_null" NOT NULL "c1"
Child tables: ft2, FOREIGN
Child tables: ft2, FOREIGN
\d+ ft2
\d+ ft2
@ -1784,8 +1732,6 @@ Child tables: ft2, FOREIGN
c3 | date | | | | | plain | |
c3 | date | | | | | plain | |
Check constraints:
Check constraints:
"fd_pt1chk2" CHECK (c2 <> ''::text)
"fd_pt1chk2" CHECK (c2 <> ''::text)
Not-null constraints:
"ft2_c1_not_null" NOT NULL "c1" (local, inherited)
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
Inherits: fd_pt1
Inherits: fd_pt1
@ -1805,8 +1751,6 @@ ALTER TABLE fd_pt1 ADD CONSTRAINT fd_pt1chk3 CHECK (c2 <> '') NOT VALID;
c3 | date | | | | plain | |
c3 | date | | | | plain | |
Check constraints:
Check constraints:
"fd_pt1chk3" CHECK (c2 <> ''::text) NOT VALID
"fd_pt1chk3" CHECK (c2 <> ''::text) NOT VALID
Not-null constraints:
"fd_pt1_c1_not_null" NOT NULL "c1"
Child tables: ft2, FOREIGN
Child tables: ft2, FOREIGN
\d+ ft2
\d+ ft2
@ -1819,8 +1763,6 @@ Child tables: ft2, FOREIGN
Check constraints:
Check constraints:
"fd_pt1chk2" CHECK (c2 <> ''::text)
"fd_pt1chk2" CHECK (c2 <> ''::text)
"fd_pt1chk3" CHECK (c2 <> ''::text) NOT VALID
"fd_pt1chk3" CHECK (c2 <> ''::text) NOT VALID
Not-null constraints:
"ft2_c1_not_null" NOT NULL "c1" (local, inherited)
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
Inherits: fd_pt1
Inherits: fd_pt1
@ -1836,8 +1778,6 @@ ALTER TABLE fd_pt1 VALIDATE CONSTRAINT fd_pt1chk3;
c3 | date | | | | plain | |
c3 | date | | | | plain | |
Check constraints:
Check constraints:
"fd_pt1chk3" CHECK (c2 <> ''::text)
"fd_pt1chk3" CHECK (c2 <> ''::text)
Not-null constraints:
"fd_pt1_c1_not_null" NOT NULL "c1"
Child tables: ft2, FOREIGN
Child tables: ft2, FOREIGN
\d+ ft2
\d+ ft2
@ -1850,8 +1790,6 @@ Child tables: ft2, FOREIGN
Check constraints:
Check constraints:
"fd_pt1chk2" CHECK (c2 <> ''::text)
"fd_pt1chk2" CHECK (c2 <> ''::text)
"fd_pt1chk3" CHECK (c2 <> ''::text)
"fd_pt1chk3" CHECK (c2 <> ''::text)
Not-null constraints:
"ft2_c1_not_null" NOT NULL "c1" (local, inherited)
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
Inherits: fd_pt1
Inherits: fd_pt1
@ -1871,8 +1809,6 @@ ALTER TABLE fd_pt1 RENAME CONSTRAINT fd_pt1chk3 TO f2_check;
f3 | date | | | | plain | |
f3 | date | | | | plain | |
Check constraints:
Check constraints:
"f2_check" CHECK (f2 <> ''::text)
"f2_check" CHECK (f2 <> ''::text)
Not-null constraints:
"fd_pt1_c1_not_null" NOT NULL "f1"
Child tables: ft2, FOREIGN
Child tables: ft2, FOREIGN
\d+ ft2
\d+ ft2
@ -1885,8 +1821,6 @@ Child tables: ft2, FOREIGN
Check constraints:
Check constraints:
"f2_check" CHECK (f2 <> ''::text)
"f2_check" CHECK (f2 <> ''::text)
"fd_pt1chk2" CHECK (f2 <> ''::text)
"fd_pt1chk2" CHECK (f2 <> ''::text)
Not-null constraints:
"ft2_c1_not_null" NOT NULL "f1" (local, inherited)
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
Inherits: fd_pt1
Inherits: fd_pt1
@ -1933,8 +1867,6 @@ CREATE FOREIGN TABLE fd_pt2_1 PARTITION OF fd_pt2 FOR VALUES IN (1)
c2 | text | | | | extended | |
c2 | text | | | | extended | |
c3 | date | | | | plain | |
c3 | date | | | | plain | |
Partition key: LIST (c1)
Partition key: LIST (c1)
Not-null constraints:
"fd_pt2_c1_not_null" NOT NULL "c1"
Partitions: fd_pt2_1 FOR VALUES IN (1), FOREIGN
Partitions: fd_pt2_1 FOR VALUES IN (1), FOREIGN
\d+ fd_pt2_1
\d+ fd_pt2_1
@ -1946,8 +1878,6 @@ Partitions: fd_pt2_1 FOR VALUES IN (1), FOREIGN
c3 | date | | | | | plain | |
c3 | date | | | | | plain | |
Partition of: fd_pt2 FOR VALUES IN (1)
Partition of: fd_pt2 FOR VALUES IN (1)
Partition constraint: ((c1 IS NOT NULL) AND (c1 = 1))
Partition constraint: ((c1 IS NOT NULL) AND (c1 = 1))
Not-null constraints:
"fd_pt2_c1_not_null" NOT NULL "c1" (inherited)
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
@ -1967,8 +1897,6 @@ CREATE FOREIGN TABLE fd_pt2_1 (
c2 | text | | | | | extended | |
c2 | text | | | | | extended | |
c3 | date | | | | | plain | |
c3 | date | | | | | plain | |
c4 | character(1) | | | | | extended | |
c4 | character(1) | | | | | extended | |
Not-null constraints:
"fd_pt2_1_c1_not_null" NOT NULL "c1"
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
@ -1984,8 +1912,6 @@ DROP FOREIGN TABLE fd_pt2_1;
c2 | text | | | | extended | |
c2 | text | | | | extended | |
c3 | date | | | | plain | |
c3 | date | | | | plain | |
Partition key: LIST (c1)
Partition key: LIST (c1)
Not-null constraints:
"fd_pt2_c1_not_null" NOT NULL "c1"
Number of partitions: 0
Number of partitions: 0
CREATE FOREIGN TABLE fd_pt2_1 (
CREATE FOREIGN TABLE fd_pt2_1 (
@ -2000,8 +1926,6 @@ CREATE FOREIGN TABLE fd_pt2_1 (
c1 | integer | | not null | | | plain | |
c1 | integer | | not null | | | plain | |
c2 | text | | | | | extended | |
c2 | text | | | | | extended | |
c3 | date | | | | | plain | |
c3 | date | | | | | plain | |
Not-null constraints:
"fd_pt2_1_c1_not_null" NOT NULL "c1"
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
@ -2015,8 +1939,6 @@ ALTER TABLE fd_pt2 ATTACH PARTITION fd_pt2_1 FOR VALUES IN (1);
c2 | text | | | | extended | |
c2 | text | | | | extended | |
c3 | date | | | | plain | |
c3 | date | | | | plain | |
Partition key: LIST (c1)
Partition key: LIST (c1)
Not-null constraints:
"fd_pt2_c1_not_null" NOT NULL "c1"
Partitions: fd_pt2_1 FOR VALUES IN (1), FOREIGN
Partitions: fd_pt2_1 FOR VALUES IN (1), FOREIGN
\d+ fd_pt2_1
\d+ fd_pt2_1
@ -2028,8 +1950,6 @@ Partitions: fd_pt2_1 FOR VALUES IN (1), FOREIGN
c3 | date | | | | | plain | |
c3 | date | | | | | plain | |
Partition of: fd_pt2 FOR VALUES IN (1)
Partition of: fd_pt2 FOR VALUES IN (1)
Partition constraint: ((c1 IS NOT NULL) AND (c1 = 1))
Partition constraint: ((c1 IS NOT NULL) AND (c1 = 1))
Not-null constraints:
"fd_pt2_1_c1_not_null" NOT NULL "c1" (inherited)
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
@ -2047,8 +1967,6 @@ ALTER TABLE fd_pt2_1 ADD CONSTRAINT p21chk CHECK (c2 <> '');
c2 | text | | | | extended | |
c2 | text | | | | extended | |
c3 | date | | | | plain | |
c3 | date | | | | plain | |
Partition key: LIST (c1)
Partition key: LIST (c1)
Not-null constraints:
"fd_pt2_c1_not_null" NOT NULL "c1"
Partitions: fd_pt2_1 FOR VALUES IN (1), FOREIGN
Partitions: fd_pt2_1 FOR VALUES IN (1), FOREIGN
\d+ fd_pt2_1
\d+ fd_pt2_1
@ -2062,9 +1980,6 @@ Partition of: fd_pt2 FOR VALUES IN (1)
Partition constraint: ((c1 IS NOT NULL) AND (c1 = 1))
Partition constraint: ((c1 IS NOT NULL) AND (c1 = 1))
Check constraints:
Check constraints:
"p21chk" CHECK (c2 <> ''::text)
"p21chk" CHECK (c2 <> ''::text)
Not-null constraints:
"fd_pt2_1_c1_not_null" NOT NULL "c1" (inherited)
"fd_pt2_1_c3_not_null" NOT NULL "c3"
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
@ -2082,9 +1997,6 @@ ALTER TABLE fd_pt2 ALTER c2 SET NOT NULL;
c2 | text | | not null | | extended | |
c2 | text | | not null | | extended | |
c3 | date | | | | plain | |
c3 | date | | | | plain | |
Partition key: LIST (c1)
Partition key: LIST (c1)
Not-null constraints:
"fd_pt2_c1_not_null" NOT NULL "c1"
"fd_pt2_c2_not_null" NOT NULL "c2"
Number of partitions: 0
Number of partitions: 0
\d+ fd_pt2_1
\d+ fd_pt2_1
@ -2096,9 +2008,6 @@ Number of partitions: 0
c3 | date | | not null | | | plain | |
c3 | date | | not null | | | plain | |
Check constraints:
Check constraints:
"p21chk" CHECK (c2 <> ''::text)
"p21chk" CHECK (c2 <> ''::text)
Not-null constraints:
"fd_pt2_1_c1_not_null" NOT NULL "c1"
"fd_pt2_1_c3_not_null" NOT NULL "c3"
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
@ -2118,9 +2027,6 @@ ALTER TABLE fd_pt2 ADD CONSTRAINT fd_pt2chk1 CHECK (c1 > 0);
Partition key: LIST (c1)
Partition key: LIST (c1)
Check constraints:
Check constraints:
"fd_pt2chk1" CHECK (c1 > 0)
"fd_pt2chk1" CHECK (c1 > 0)
Not-null constraints:
"fd_pt2_c1_not_null" NOT NULL "c1"
"fd_pt2_c2_not_null" NOT NULL "c2"
Number of partitions: 0
Number of partitions: 0
\d+ fd_pt2_1
\d+ fd_pt2_1
@ -2132,10 +2038,6 @@ Number of partitions: 0
c3 | date | | not null | | | plain | |
c3 | date | | not null | | | plain | |
Check constraints:
Check constraints:
"p21chk" CHECK (c2 <> ''::text)
"p21chk" CHECK (c2 <> ''::text)
Not-null constraints:
"fd_pt2_1_c1_not_null" NOT NULL "c1"
"fd_pt2_1_c2_not_null" NOT NULL "c2"
"fd_pt2_1_c3_not_null" NOT NULL "c3"
Server: s0
Server: s0
FDW options: (delimiter ',', quote '"', "be quoted" 'value')
FDW options: (delimiter ',', quote '"', "be quoted" 'value')