- Notifications
You must be signed in to change notification settings - Fork5
Commita09ccc7
committed
If they're not, the below causes problems, as the foreign key is added
after the CHECK. Cluster depends on the index name, so I thought itwise to ensure all names are available, rather than leaving off theCONSTRAINT "$n" portion for internally named constraints.CREATE TABLE jkey (col integer primary key);CREATE TABLE j (col integer REFERENCES jkey);ALTER TABLE j ADD CHECK(col > 5);This is a problem in 7.3 series as well as -Tip.Rod Taylor <rbt@rbt.ca>1 parentca64391 commita09ccc7
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
5347 | 5347 | | |
5348 | 5348 | | |
5349 | 5349 | | |
5350 | | - | |
5351 | | - | |
| 5350 | + | |
5352 | 5351 | | |
5353 | 5352 | | |
5354 | 5353 | | |
| |||
0 commit comments
Comments
(0)