Commit Graph

98 Commits (d6ab7203607a3f43fe41d384f46c15bdac68d745)

Author SHA1 Message Date
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
Robert Haas d3cc37f1d8 Don't scan partitioned tables. 9 years ago
Andres Freund 9ba8a9ce45 Use the new castNode() macro in a number of places. 9 years ago
Robert Haas 587cda35ca Fix things so that updatable views work with partitioned tables. 9 years ago
Robert Haas 27cdb3414b Reindent table partitioning code. 9 years ago
Andres Freund ea15e18677 Remove obsoleted code relating to targetlist SRF evaluation. 9 years ago
Robert Haas 05bd889904 Fix RETURNING to work correctly with partition tuple routing. 9 years ago
Robert Haas f1b4c771ea Fix reporting of constraint violations for table partitioning. 9 years ago
Robert Haas 345b2dcf07 Move partition_tuple_slot out of EState. 9 years ago
Bruce Momjian 1d25779284 Update copyright via script for 2017 9 years ago
Robert Haas 2ac3ef7a01 Fix tuple routing in cases where tuple descriptors don't match. 9 years ago
Robert Haas 1fc5c49450 Refactor partition tuple routing code to reduce duplication. 9 years ago
Robert Haas 4b9a98e154 Clean up code, comments, and formatting for table partitioning. 9 years ago
Robert Haas f0e44751d7 Implement table partitioning. 9 years ago
Tom Lane 8f1fb7d621 Avoid testing tuple visibility without buffer lock. 9 years ago
Tom Lane a6c0a5b6e8 Don't throw serialization errors for self-conflicts in INSERT ON CONFLICT. 9 years ago
Robert Haas 4bc424b968 pgindent run for 9.6 10 years ago