Commit Graph

463 Commits (6f5c8a8ec23f8ab00da4d2b77bfc8af2a578c4d3)

Author SHA1 Message Date
Alvaro Herrera 6f5c8a8ec2
Remove bogus restriction from BEFORE UPDATE triggers 5 years ago
Peter Geoghegan 9dc718bdf2 Pass down "logically unchanged index" hint. 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Tom Lane 92bf7e2d02 Provide the OR REPLACE option for CREATE TRIGGER. 5 years ago
Noah Misch 0c3185e963 In security-restricted operations, block enqueue of at-commit user code. 5 years ago
Tom Lane 20d3fe9009 In INSERT/UPDATE, use the table's real tuple descriptor as target. 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
Heikki Linnakangas 6973533650 Revise child-to-root tuple conversion map management. 5 years ago
Heikki Linnakangas 1375422c78 Create ResultRelInfos later in InitPlan, index them by RT index. 5 years ago
Tom Lane 5cbfce562f Initial pgindent and pgperltidy run for v13. 5 years ago
Alvaro Herrera 17cc133f01
Dial back -Wimplicit-fallthrough to level 3 5 years ago
Alvaro Herrera 3e9744465d
Add -Wimplicit-fallthrough to CFLAGS and CXXFLAGS 5 years ago
Alvaro Herrera 487e9861d0
Enable BEFORE row-level triggers for partitioned tables 6 years ago
Peter Eisentraut 71d60e2aa0 Add tg_updatedcols to TriggerData 6 years ago
Peter Eisentraut 8f152b6c50 Code simplification 6 years ago
Tom Lane bb03010b9f Remove the "opaque" pseudo-type and associated compatibility hacks. 6 years ago
Tom Lane e58a599752 Remove ancient support for upgrading pre-7.3 foreign key constraints. 6 years ago
Alvaro Herrera b9b408c487
Record parents of triggers 6 years ago
Tom Lane 5815696bc6 Make parser rely more heavily on the ParseNamespaceItem data structure. 6 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Michael Paquier 7854e07f25 Revert "Rename files and headers related to index AM" 6 years ago
Tom Lane bb4114a4e2 Allow whole-row Vars to be used in partitioning expressions. 6 years ago
Michael Paquier 8ce3aa9b59 Rename files and headers related to index AM 6 years ago
Robert Haas 7cdcc747a9 Update neglected comment. 6 years ago
Etsuro Fujita 5a20b0219e Fix handling of multiple AFTER ROW triggers on a foreign table. 6 years ago
Tom Lane 0cafdd03a8 Fix silly initializations (cosmetic only). 6 years ago
Alvaro Herrera dcb7d3cafa Have LookupFuncName accept NULL argtypes for 0 args 6 years ago
Alvaro Herrera b4bcc6bfdf Fix SET CONSTRAINTS .. DEFERRED on partitioned tables 6 years ago
Peter Eisentraut 604bd36711 PG_FINALLY 6 years ago
Andres Freund d986d4e87f Fix crash caused by EPQ happening with a before update trigger present. 6 years ago
Andres Freund 27cc7cd2bc Reorder EPQ work, to fix rowmark related bugs and improve efficiency. 6 years ago
Michael Paquier 23bccc823d Fix inconsistencies and typos in the tree 6 years ago
Alvaro Herrera 2c84ea6cf9 Propagate trigger arguments to partitions 6 years ago
Andres Freund 73b8c3bd28 tableam: Rename wrapper functions to match callback names. 6 years ago
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 6 years ago
Tom Lane be76af171c Initial pgindent run for v12. 6 years ago
Andres Freund 88e6ad3054 Fix two memory leaks around force-storing tuples in slots. 6 years ago
Andres Freund 75e03eabea Fix potential use-after-free for BEFORE UPDATE row triggers on non-core AMs. 7 years ago
Peter Eisentraut fc22b6623b Generated columns 7 years ago
Andres Freund 9a8ee1dc65 tableam: Add and use table_fetch_row_version(). 7 years ago
Andres Freund 5db6df0c01 tableam: Add tuple_{insert, delete, update, lock} and use. 7 years ago
Andres Freund 5963b29e03 Initialize variable to silence compiler warning. 7 years ago
Andres Freund ff11e7f4b9 Use slots in trigger infrastructure, except for the actual invocation. 7 years ago
Robert Haas 1bb5e78218 Move code for managing PartitionDescs into a new file, partdesc.c 7 years ago
Tom Lane 1d92a0c9f7 Redesign the partition dependency mechanism. 7 years ago
Andres Freund 171e0418b0 Fix heap_getattr() handling of fast defaults. 7 years ago
Tom Lane f09346a9c6 Refactor planner's header files. 7 years ago
Andres Freund a9c35cf85c Change function call information to be variable length. 7 years ago
Andres Freund e7cc78ad43 Remove superfluous tqual.h includes. 7 years ago