Commit Graph

89 Commits (06a546382aafe0cc9d895b2861c5b8a8e9f0b002)

Author SHA1 Message Date
Dean Rasheed 06a546382a 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. 2 years ago
Tom Lane 6949b921d5 Avoid failure when altering state of partitioned foreign-key triggers. 3 years ago
Tom Lane 216f9c1ab3 Fix tupdesc lifespan bug with AfterTriggersTableData.storeslot. 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
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 6beb38cfc9
Make new test immune to collation 4 years ago
Alvaro Herrera 80ba4bb383
Make ALTER TRIGGER RENAME consistent for partitioned tables 4 years ago
Alvaro Herrera f0e21f2f61
Fix pg_dump for disabled triggers on partitioned tables 4 years ago
Alvaro Herrera df80fa2ee5
Preserve firing-on state when cloning row triggers to partitions 4 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 afccd76f1c
Fix detaching partitions with cloned row triggers 5 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 6 years ago
Tom Lane ab5fcf2b04 Fix plan created for inherited UPDATE/DELETE with all tables excluded. 7 years ago
Andres Freund 8cc157b234 Fix ALTER TRIGGER ... RENAME, broken in WITH OIDS removal. 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
Heikki Linnakangas 17b715c634 Add test case for EEOP_INNER_SYSVAR/EEOP_OUTER_SYSVAR executor opcodes. 7 years ago
Simon Riggs 08ea7a2291 Revert MERGE patch 8 years ago
Alvaro Herrera 851f4b4e14 Don't clone internal triggers to partitions 8 years ago
Simon Riggs d204ef6377 MERGE SQL Command following SQL:2016 8 years ago
Simon Riggs 7cf8a5c302 Revert "Modified files for MERGE" 8 years ago
Simon Riggs 354f13855e Modified files for MERGE 8 years ago
Alvaro Herrera 186b6df2e6 Fix test impredictability 8 years ago
Alvaro Herrera 555ee77a96 Handle INSERT .. ON CONFLICT with partitioned tables 8 years ago
Alvaro Herrera 86f575948c Allow FOR EACH ROW triggers on partitioned tables 8 years ago
Tom Lane 25b692568f Prevent dangling-pointer access when update trigger returns old tuple. 8 years ago
Tom Lane db3af9feb1 Remove unused functions in regress.c. 8 years ago
Alvaro Herrera cef60043dd Mention trigger name in trigger test 8 years ago
Peter Eisentraut 7c44b75a2a Make new triggers tests more robust 8 years ago
Peter Eisentraut 32ff269117 Add more information_schema columns 8 years ago
Peter Eisentraut 77216cae47 Add tests for session_replication_role 8 years ago
Bruce Momjian bdb70c12b3 C comment: fix "the the" mentions in C comments 8 years ago
Tom Lane fd31f9f033 Ensure that BEFORE STATEMENT triggers fire the right number of times. 8 years ago
Tom Lane 0f79440fb0 Fix SQL-spec incompatibilities in new transition table feature. 8 years ago
Tom Lane 3c43595217 Quick-hack fix for foreign key cascade vs triggers with transition tables. 8 years ago