Commit Graph

114 Commits (c9c875a28fa6cbc38c227fb9e656dd7be948166f)

Author SHA1 Message Date
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
Robert Haas 610e8ebb0f Teach map_partition_varattnos to handle whole-row expressions. 9 years ago
Andres Freund cc9f08b6b8 Move ExecProcNode from dispatch to function pointer based model. 9 years ago
Andres Freund d47cfef711 Move interrupt checking from ExecProcNode() to executor nodes. 9 years ago
Robert Haas f81a91db4d Use a real RT index when setting up partition tuple routing. 9 years ago
Andrew Gierth c46c0e5202 Fix transition tables for wCTEs. 9 years ago
Andrew Gierth 501ed02cf6 Fix transition tables for partition/inheritance. 9 years ago
Tom Lane 382ceffdf7 Phase 3 of pgindent updates. 9 years ago
Tom Lane c7b8998ebb Phase 2 of pgindent updates. 9 years ago
Tom Lane 651902deb1 Re-run pgindent. 9 years ago
Tom Lane 78a030a441 Fix confusion about number of subplans in partitioned INSERT setup. 9 years ago
Robert Haas 15ce775faa Prevent BEFORE triggers from violating partitioning constraints. 9 years ago
Bruce Momjian a6fd7b7a5f Post-PG 10 beta1 pgindent run 9 years ago
Robert Haas e180c8aa8c Fire per-statement triggers on partitioned tables. 9 years ago
Tom Lane 8f0530f580 Improve castNode notation by introducing list-extraction-specific variants. 9 years ago
Robert Haas c0a8ae7be3 Fix reporting of violations in ExecConstraints, again. 9 years ago
Andres Freund b8d7f053c5 Faster expression evaluation and targetlist projection. 9 years ago