Commit Graph

59 Commits (b75ccddcd6f747dc386411eeac6bbfdface14a2c)

Author SHA1 Message Date
Alvaro Herrera b75ccddcd6 Fix SET CONSTRAINTS .. DEFERRED on partitioned tables 7 years ago
Alvaro Herrera 3ffe655c0a Check that partitions are not in use when dropping constraints 7 years ago
Alvaro Herrera 05b38c7e63 Fix partitioned index attachment 7 years ago
Tom Lane 46e3442c9e Fix failures in validateForeignKeyConstraint's slow path. 7 years ago
Alvaro Herrera f56f8f8da6 Support foreign keys that reference partitioned tables 7 years ago
Alvaro Herrera 1af25ca0c2 Improve psql's \d display of foreign key constraints 7 years ago
Tom Lane 940311e4bb Un-hide most cascaded-drop details in regression test results. 7 years ago
Peter Eisentraut 1ffa59a85c Fix optimization of foreign-key on update actions 7 years ago
Peter Eisentraut f177660ab0 Include all columns in default names for foreign key constraints 7 years ago
Alvaro Herrera efd9366dce Fix droppability of constraints upon partition detach 7 years ago
Alvaro Herrera 0464fdf07f Create action triggers when partitions are detached 7 years ago
Alvaro Herrera 0325d7a595 Fix creation of duplicate foreign keys on partitions 8 years ago
Peter Eisentraut f04ad77a30 Remove obsolete comment 8 years ago
Peter Eisentraut 304e9f031b Increase test coverage in RI_Initial_Check() 8 years ago
Peter Eisentraut 45ed6e1ae0 Increase test coverage in RI_FKey_fk_upd_check_required() 8 years ago
Peter Eisentraut cdaf4a4727 Increase test coverage in RI_FKey_pk_upd_check_required() 8 years ago
Peter Eisentraut 74bd06648b Add test case for ON DELETE NO ACTION/RESTRICT 8 years ago
Magnus Hagander fbec7459aa Fix spelling errors and typos in comments 8 years ago
Alvaro Herrera c7d43c4d8a Correct attach/detach logic for FKs in partitions 8 years ago
Michael Paquier 9c2a970d1f Improve two error messages related to foreign keys on partitioned tables 8 years ago
Alvaro Herrera 20bef2c311 Fix ALTER/TYPE on columns referenced by FKs in partitioned tables 8 years ago
Alvaro Herrera 3de241dba8 Foreign keys on partitioned tables 8 years ago
Alvaro Herrera cd5005bc12 Pass correct TupDesc to ri_NullCheck() in Assert 8 years ago
Tom Lane 4e026b32d4 Check for pending trigger events on far end when dropping an FK constraint. 10 years ago
Tom Lane 6292c23391 Avoid testing tuple visibility without buffer lock in RI_FKey_check(). 10 years ago
Tom Lane b32e63506c Fix match_foreign_keys_to_quals for FKs linking to unused rtable entries. 10 years ago
Tom Lane a4820434c1 Fix overlooked relcache invalidation in ALTER TABLE ... ALTER CONSTRAINT. 11 years ago
Simon Riggs f177cbfe67 ALTER TABLE ... ALTER CONSTRAINT for FKs 13 years ago
Simon Riggs 4f14c86d74 Reverting previous commit, pending investigation 13 years ago
Simon Riggs b577a57d41 ALTER TABLE ... ALTER CONSTRAINT for FKs 13 years ago
Tom Lane fe3db74002 Share RI trigger code between NO ACTION and RESTRICT cases. 14 years ago
Tom Lane e8c9fd5fdf Allow ON UPDATE/DELETE SET DEFAULT plans to be cached. 14 years ago
Tom Lane c75be2ad60 Change ON UPDATE SET NULL/SET DEFAULT referential actions to meet SQL spec. 14 years ago
Tom Lane f5297bdfe4 Refer to the default foreign key match style as MATCH SIMPLE internally. 14 years ago
Robert Haas 5d4b60f2f2 Lots of doc corrections. 14 years ago
Tom Lane 58958726ff Change FK trigger creation order to better support self-referential FKs. 15 years ago
Peter Eisentraut fc946c39ae Remove useless whitespace at end of lines 16 years ago
Tom Lane 0cefb50f3c Refactor the handling of the various DropStmt variants so that when multiple 18 years ago
Tom Lane 9cb8409762 Repair problems occurring when multiple RI updates have to be done to the same 19 years ago
Tom Lane 2c535bfe81 Fix incorrect optimization of foreign-key checks. When an UPDATE on the 19 years ago
Tom Lane 31edbadf4a Downgrade implicit casts to text to be assignment-only, except for the ones 19 years ago
Tom Lane 7bddca3450 Fix up foreign-key mechanism so that there is a sound semantic basis for the 20 years ago
Tom Lane 13ea825b6d Spell "explicitly" correctly, per Simon. 21 years ago
Neil Conway adfeef55cb When enqueueing after-row triggers for updates of a table with a foreign 21 years ago
Tom Lane fcbc438727 Label CVS tip as 8.0devel instead of 7.5devel. Adjust various comments 22 years ago
Tom Lane 077db40fa1 ALTER TABLE rewrite. New cool stuff: 22 years ago
Tom Lane b88fa3b196 Generate a WARNING when the column types in a foreign key constraint are 23 years ago
Tom Lane 42ce74bf17 COMMENT ON casts, conversions, languages, operator classes, and 23 years ago
Jan Wieck 774f57038a Moved the recently added test for foreign key disabled by rewrite 23 years ago
Jan Wieck cc4baf4da3 Fix for possible referential integrity violation when a qualified ON INSERT 23 years ago