@@ -1009,41 +1009,41 @@ Has OIDs: no
1009
1009
1010
1010
DROP TABLE test_constraints_inh;
1011
1011
DROP TABLE test_constraints;
1012
- CREATE TABLE circles (
1012
+ CREATE TABLE test_ex_constraints (
1013
1013
c circle,
1014
1014
EXCLUDE USING gist (c WITH &&)
1015
1015
);
1016
- NOTICE: CREATE TABLE / EXCLUDE will create implicit index "circles_c_excl " for table "circles "
1017
- CREATE TABLE circles_inh () INHERITS (circles );
1018
- \d+ circles
1019
- Table "public.circles "
1016
+ NOTICE: CREATE TABLE / EXCLUDE will create implicit index "test_ex_constraints_c_excl " for table "test_ex_constraints "
1017
+ CREATE TABLE test_ex_constraints_inh () INHERITS (test_ex_constraints );
1018
+ \d+ test_ex_constraints
1019
+ Table "public.test_ex_constraints "
1020
1020
Column | Type | Modifiers | Storage | Stats target | Description
1021
1021
--------+--------+-----------+---------+--------------+-------------
1022
1022
c | circle | | plain | |
1023
1023
Indexes:
1024
- "circles_c_excl " EXCLUDE USING gist (c WITH &&)
1025
- Child tables: circles_inh
1024
+ "test_ex_constraints_c_excl " EXCLUDE USING gist (c WITH &&)
1025
+ Child tables: test_ex_constraints_inh
1026
1026
Has OIDs: no
1027
1027
1028
- ALTER TABLE circles DROP CONSTRAINT circles_c_excl ;
1029
- \d+ circles
1030
- Table "public.circles "
1028
+ ALTER TABLE test_ex_constraints DROP CONSTRAINT test_ex_constraints_c_excl ;
1029
+ \d+ test_ex_constraints
1030
+ Table "public.test_ex_constraints "
1031
1031
Column | Type | Modifiers | Storage | Stats target | Description
1032
1032
--------+--------+-----------+---------+--------------+-------------
1033
1033
c | circle | | plain | |
1034
- Child tables: circles_inh
1034
+ Child tables: test_ex_constraints_inh
1035
1035
Has OIDs: no
1036
1036
1037
- \d+ circles_inh
1038
- Table "public.circles_inh "
1037
+ \d+ test_ex_constraints_inh
1038
+ Table "public.test_ex_constraints_inh "
1039
1039
Column | Type | Modifiers | Storage | Stats target | Description
1040
1040
--------+--------+-----------+---------+--------------+-------------
1041
1041
c | circle | | plain | |
1042
- Inherits: circles
1042
+ Inherits: test_ex_constraints
1043
1043
Has OIDs: no
1044
1044
1045
- DROP TABLE circles_inh ;
1046
- DROP TABLE circles ;
1045
+ DROP TABLE test_ex_constraints_inh ;
1046
+ DROP TABLE test_ex_constraints ;
1047
1047
-- Test non-inheritable foreign key contraints
1048
1048
CREATE TABLE test_primary_constraints(id int PRIMARY KEY);
1049
1049
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "test_primary_constraints_pkey" for table "test_primary_constraints"
0 commit comments