|
|
@ -728,7 +728,7 @@ SELECT * FROM t; |
|
|
|
|
|
|
|
|
|
|
|
DROP TABLE t; |
|
|
|
DROP TABLE t; |
|
|
|
-- make sure expanded tuple has correct self pointer |
|
|
|
-- make sure expanded tuple has correct self pointer |
|
|
|
-- it will be required by the RI tigger doing the cascading delete |
|
|
|
-- it will be required by the RI trigger doing the cascading delete |
|
|
|
CREATE TABLE leader (a int PRIMARY KEY, b int); |
|
|
|
CREATE TABLE leader (a int PRIMARY KEY, b int); |
|
|
|
CREATE TABLE follower (a int REFERENCES leader ON DELETE CASCADE, b int); |
|
|
|
CREATE TABLE follower (a int REFERENCES leader ON DELETE CASCADE, b int); |
|
|
|
INSERT INTO leader VALUES (1, 1), (2, 2); |
|
|
|
INSERT INTO leader VALUES (1, 1), (2, 2); |
|
|
|