Commit Graph

130 Commits (a387a3dff9001225ad571ff2755d139f5bd193b3)

Author SHA1 Message Date
Andres Freund 1a0586de36 Introduce notion of different types of slots (without implementing them). 7 years ago
Andres Freund 763f2edd92 Rejigger materializing and fetching a HeapTuple from a slot. 7 years ago
Andres Freund c058fc2a2b Rationalize expression context reset in ExecModifyTable(). 7 years ago
Andres Freund 1ef6bd2954 Don't require return slots for nodes without projection. 7 years ago
Andres Freund c5257345ef Move TupleTableSlots boolean member into one flag variable. 7 years ago
Andres Freund cc2905e963 Use slots more widely in tuple mapping code and make naming more consistent. 7 years ago
Andres Freund 29c94e03c7 Split ExecStoreTuple into ExecStoreHeapTuple and ExecStoreBufferHeapTuple. 7 years ago
Peter Eisentraut 0d5f05cde0 Allow multi-inserts during COPY into a partitioned table 8 years ago
Heikki Linnakangas 6b387179ba Fix misc typos, mostly in comments. 8 years ago
Amit Kapila 40ca70ebcc Allow using the updated tuple while moving it to a different partition. 8 years ago
Alvaro Herrera 5b0c7e2f75 Don't needlessly check the partition contraint twice 8 years ago
Heikki Linnakangas 57f06a7611 Fix obsolete comment. 8 years ago
Tom Lane 41c912cad1 Clean up warnings from -Wimplicit-fallthrough. 8 years ago
Robert Haas 37a3058bc7 Fix interaction of foreign tuple routing with remote triggers. 8 years ago
Tom Lane bdf46af748 Post-feature-freeze pgindent run. 8 years ago
Simon Riggs 08ea7a2291 Revert MERGE patch 8 years ago
Alvaro Herrera 15a8f8caad Fix IndexOnlyScan counter for heap fetches in parallel mode 8 years ago
Andres Freund f16241bef7 Raise error when affecting tuple moved into different partition. 8 years ago
Robert Haas 3d956d9562 Allow insert and update tuple routing and COPY for foreign tables. 8 years ago
Simon Riggs 4b2d44031f MERGE post-commit review 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 555ee77a96 Handle INSERT .. ON CONFLICT with partitioned tables 8 years ago
Alvaro Herrera ee0a1fc84e Remove unnecessary members from ModifyTableState and ExecInsert 8 years ago
Alvaro Herrera 839a8eb2b3 Expand comment a little bit 8 years ago
Alvaro Herrera 6666ee49f4 Fix state reversal after partition tuple routing 8 years ago
Stephen Frost 97d18ce27d Fix comment for ExecProcessReturning 8 years ago
Robert Haas edd44738bc Be lazier about partition tuple routing. 8 years ago
Andres Freund ad7dbee368 Allow tupleslots to have a fixed tupledesc, use in executor nodes. 8 years ago
Tom Lane bb415675d8 Add missing "static" markers. 8 years ago
Robert Haas 945f71db84 Avoid referencing off the end of subplan_partition_offsets. 8 years ago
Robert Haas 2f17844104 Allow UPDATE to move rows between partitions. 8 years ago
Tom Lane dca48d145e Remove useless lookup of root partitioned rel in ExecInitModifyTable(). 8 years ago
Robert Haas 19c47e7c82 Factor error generation out of ExecPartitionCheck. 8 years ago
Robert Haas cc6337d2fe Simplify and encapsulate tuple routing support code. 8 years ago
Bruce Momjian 9d4649ca49 Update copyright for 2018 8 years ago
Andres Freund 4717fdb14c Rely on executor utils to build targetlist for DML RETURNING. 8 years ago
Robert Haas 87c37e3291 Re-allow INSERT .. ON CONFLICT DO NOTHING on partitioned tables. 8 years ago
Robert Haas eaedf0df71 Update typedefs.list and re-run pgindent 8 years ago
Tom Lane 9a785ad573 Fix creation of resjunk tlist entries for inherited mixed UPDATE/DELETE. 8 years ago
Robert Haas 4e5fe9ad19 Centralize executor-related partitioning code. 8 years ago
Robert Haas 60f7c0abef Use ResultRelInfo ** rather than ResultRelInfo * for tuple routing. 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
Robert Haas 9d71323dac Even if some partitions are foreign, allow tuple routing. 8 years ago
Andres Freund 2cd7084524 Change tupledesc->attrs[n] to TupleDescAttr(tupledesc, n). 8 years ago
Robert Haas c4b841ba6a Fix interaction of triggers, partitioning, and EXPLAIN ANALYZE. 8 years ago
Tom Lane 21d304dfed Final pgindent + perltidy run for v10. 8 years ago
Robert Haas 12a34f59bf Improve ExecModifyTable comments. 9 years ago