Commit Graph

71 Commits (277cb789836b5ddf81aabb80c2058268c70e2f36)

Author SHA1 Message Date
Andres Freund 277cb78983 Don't reuse slots between root and partition in ON CONFLICT ... UPDATE. 7 years ago
Andres Freund 70b9bda65f Use a virtual rather than a heap slot in two places where that suffices. 7 years ago
Robert Haas 1bb5e78218 Move code for managing PartitionDescs into a new file, partdesc.c 7 years ago
Robert Haas 9eefba181f Delay lock acquisition for partitions until we route a tuple to them. 7 years ago
Andres Freund e0c4ec0728 Replace uses of heap_open et al with the corresponding table_* function. 7 years ago
Andres Freund 111944c5ee Replace heapam.h includes with {table, relation}.h where applicable. 7 years ago
Andres Freund 4c850ecec6 Don't include heapam.h from others headers. 7 years ago
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago
Michael Paquier 25c026c284 Fix typo in description of ExecFindPartition 7 years ago
Alvaro Herrera ee07e38c14 Fix PartitionDispatchData vertical whitespace 7 years ago
Andres Freund 578b229718 Remove WITH OIDS support, change oid catalog column visibility. 7 years ago
Alvaro Herrera 0201d79a55 Avoid re-typedef'ing PartitionTupleRouting 7 years ago
Alvaro Herrera 3f2393edef Redesign initialization of partition routing structures 7 years ago
Andres Freund 1a0586de36 Introduce notion of different types of slots (without implementing them). 7 years ago
Tom Lane 34c9e455d0 Improve performance of partition pruning remapping a little. 7 years ago
Magnus Hagander fbec7459aa Fix spelling errors and typos in comments 7 years ago
Tom Lane 52ed730d51 Remove some unnecessary fields from Plan trees. 7 years ago
Tom Lane 9ddef36278 Centralize executor's opening/closing of Relations for rangetable entries. 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
Alvaro Herrera 6b78231d91 Move PartitionDispatchData struct definition to execPartition.c 7 years ago
Alvaro Herrera 1eb9221585 Fix executor prune failure when plan already pruned 7 years ago
Tom Lane 1c2cb2744b Fix run-time partition pruning for appends with multiple source rels. 8 years ago
Alvaro Herrera 91bc213d90 Fix unnoticed variable shadowing in previous commit 8 years ago
Alvaro Herrera 1c9bb02d8e Fix per-tuple memory leak in partition tuple routing 8 years ago
Peter Eisentraut 0d5f05cde0 Allow multi-inserts during COPY into a partitioned table 8 years ago
Robert Haas 3e32109049 Use key and partdesc from PartitionDispatch where possible. 8 years ago
Tom Lane 19832753f1 Fix some ill-chosen names for globally-visible partition support functions. 8 years ago
Tom Lane e23bae82cf Fix up run-time partition pruning's use of relcache's partition data. 8 years ago
Tom Lane 69025c5a07 Improve ExecFindInitialMatchingSubPlans's subplan renumbering logic. 8 years ago
Alvaro Herrera 5b0c7e2f75 Don't needlessly check the partition contraint twice 8 years ago
Tom Lane 321f648a31 Assorted cosmetic cleanup of run-time-partition-pruning code. 8 years ago
Tom Lane 939449de0e Relocate partition pruning structs to a saner place. 8 years ago
Tom Lane 73b7f48f78 Improve run-time partition pruning to handle any stable expression. 8 years ago
Robert Haas b949bbcb7e Further adjust comment in get_partition_dispatch_recurse. 8 years ago
Robert Haas 09b12d52db Improve comment in get_partition_dispatch_recurse. 8 years ago
Robert Haas 37a3058bc7 Fix interaction of foreign tuple routing with remote triggers. 8 years ago
Alvaro Herrera bd4aad3239 Update ExecInitPartitionInfo comment 8 years ago
Alvaro Herrera 1957f8dabf Initialize ExprStates once in run-time partition pruning 8 years ago
Tom Lane a66c03f698 Add missing "static" marker. 8 years ago
Alvaro Herrera 79b2e52615 Remove quick path in ExecInitPartitionInfo for equal tupdescs 8 years ago
Alvaro Herrera 158b7bc6d7 Ignore whole-rows in INSERT/CONFLICT with partitioned tables 8 years ago
Alvaro Herrera da6f3e45dd Reorganize partitioning code 8 years ago
Simon Riggs 08ea7a2291 Revert MERGE patch 8 years ago
Alvaro Herrera d7a95f06a1 Minor comment updates 8 years ago
Tom Lane cefa387153 Merge catalog/pg_foo_fn.h headers back into pg_foo.h headers. 8 years ago
Alvaro Herrera 499be013de Support partition pruning at execution time 8 years ago
Robert Haas 3d956d9562 Allow insert and update tuple routing and COPY for foreign tables. 8 years ago
Simon Riggs 01b88b4df5 MERGE minor errata 8 years ago
Simon Riggs 4b2d44031f MERGE post-commit review 8 years ago