Commit Graph

119 Commits (f62975b2af6ace276a1d564a070b0aef479025af)

Author SHA1 Message Date
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
Heikki Linnakangas 17b715c634 Add test case for EEOP_INNER_SYSVAR/EEOP_OUTER_SYSVAR executor opcodes. 8 years ago
Tom Lane b86b7bfa3e Improve English wording of some other getObjectDescription() messages. 8 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