Commit Graph

130 Commits (c83a38758d2a9b4a72ec8f7e218f7546457f265d)

Author SHA1 Message Date
Álvaro Herrera c83a38758d
Handle self-referencing FKs correctly in partitioned tables 8 months ago
Tom Lane b1720fe63f Move contrib/spi testing from core regression tests to contrib/spi. 9 months ago
Tom Lane 8cfbdf8f4d Fix some issues in contrib/spi/refint.c. 9 months ago
Michael Paquier 773c51dd39 Fix MakeTransitionCaptureState() to return a consistent result 11 months ago
Tom Lane 01463e1ccc Ensure that AFTER triggers run as the instigating user. 12 months ago
Tom Lane 3c49d462db Disallow NAMEDTUPLESTORE RTEs in stored views, rules, etc. 1 year ago
Tom Lane e6d0d16adf Don't throw an error if a queued AFTER trigger no longer exists. 2 years ago
Dean Rasheed 29ef1dd19b Fix handling of self-modified tuples in MERGE. 2 years ago
Dean Rasheed a4f7d33a90 Fix AFTER ROW trigger execution in MERGE cross-partition update. 2 years ago
Tom Lane 4766eef317 Fix another issue with ENABLE/DISABLE TRIGGER on partitioned tables. 3 years ago
Tom Lane 6949b921d5 Avoid failure when altering state of partitioned foreign-key triggers. 3 years ago
Tom Lane 47bb9db759 Get rid of the "new" and "old" entries in a view's rangetable. 3 years ago
Tom Lane f0e6d6d3c9 Revert "Get rid of the "new" and "old" entries in a view's rangetable." 3 years ago
Tom Lane 1b4d280ea1 Get rid of the "new" and "old" entries in a view's rangetable. 3 years ago
Etsuro Fujita 8c71467908 Correct error message for row-level triggers with transition tables on partitioned tables. 3 years ago
Tom Lane 216f9c1ab3 Fix tupdesc lifespan bug with AfterTriggersTableData.storeslot. 3 years ago
Peter Eisentraut 26f7802beb Message style improvements 3 years ago
Alvaro Herrera 90a4b64134
regress: fix test instability 3 years ago
Alvaro Herrera ec0925c22a
Fix ENABLE/DISABLE TRIGGER to handle recursion correctly 3 years ago
Michael Paquier 12c254c99f Tweak detail and hint messages to be consistent with project policy 4 years ago
Alvaro Herrera 7103ebb7aa
Add support for MERGE SQL command 4 years ago
Tom Lane cc50080a82 Rearrange core regression tests to reduce cross-script dependencies. 4 years ago
Tom Lane 9007d4ea77 Fix psql \d's query for identifying parent triggers. 4 years ago
Alvaro Herrera f4566345cf
Create foreign key triggers in partitioned tables too 4 years ago
Alvaro Herrera 6beb38cfc9
Make new test immune to collation 5 years ago
Alvaro Herrera 80ba4bb383
Make ALTER TRIGGER RENAME consistent for partitioned tables 5 years ago
Alvaro Herrera f0e21f2f61
Fix pg_dump for disabled triggers on partitioned tables 5 years ago
Alvaro Herrera df80fa2ee5
Preserve firing-on state when cloning row triggers to partitions 5 years ago
Alvaro Herrera 25936fd46c
Fix use-after-free bug with AfterTriggersTableData.storeslot 5 years ago
Alvaro Herrera 6f5c8a8ec2
Remove bogus restriction from BEFORE UPDATE triggers 5 years ago
Heikki Linnakangas 68b1a4877e Fix a few comments that referred to copy.c. 5 years ago
Tom Lane 92bf7e2d02 Provide the OR REPLACE option for CREATE TRIGGER. 5 years ago
Tom Lane 8b39345a9d In INSERT/UPDATE, use the table's real tuple descriptor as target. 5 years ago
Magnus Hagander 44a184cb68 Use the non-deprecated TG_TABLE_MAME in test trigger 5 years ago
Tom Lane ba9f18abd3 Fix corner case for a BEFORE ROW UPDATE trigger returning OLD. 5 years ago
Alvaro Herrera bbb927b4db
Fix ALTER TABLE .. ENABLE/DISABLE TRIGGER recursion 5 years ago
Alvaro Herrera c33869cc3b
psql \d: Display table where trigger is defined, if inherited 6 years ago
Alvaro Herrera afccd76f1c
Fix detaching partitions with cloned row triggers 6 years ago
Alvaro Herrera 487e9861d0
Enable BEFORE row-level triggers for partitioned tables 6 years ago
Alvaro Herrera b9b408c487
Record parents of triggers 6 years ago
Alvaro Herrera 1fa846f1c9 Fix cloning of row triggers to sub-partitions 6 years ago
Tom Lane 1ced082b95 Prevent possible double-free when update trigger returns old tuple. 6 years ago
Alvaro Herrera 2c84ea6cf9 Propagate trigger arguments to partitions 7 years ago
Andres Freund 41f5e04aec Fix a number of issues around modifying a previously updated row. 7 years ago
Tom Lane ab5fcf2b04 Fix plan created for inherited UPDATE/DELETE with all tables excluded. 7 years ago
Peter Eisentraut 0c1f8f166c Use EXECUTE FUNCTION syntax for triggers more 7 years ago
Andres Freund 8cc157b234 Fix ALTER TRIGGER ... RENAME, broken in WITH OIDS removal. 7 years ago
Michael Paquier 730422afcd Fix some errhint and errdetail strings missing a period 7 years ago
Andres Freund 578b229718 Remove WITH OIDS support, change oid catalog column visibility. 7 years ago
Peter Eisentraut 0a63f996e0 Change PROCEDURE to FUNCTION in CREATE TRIGGER syntax 7 years ago