Commit Graph

120 Commits (fb958b5da86da69651f6fb9f540c2cfb1346cdc5)

Author SHA1 Message Date
Alvaro Herrera fb958b5da8
Generalize ri_RootToPartitionMap to use for non-partition children 3 years ago
Alvaro Herrera ec38694894
Move PartitioPruneInfo out of plan nodes into PlannedStmt 3 years ago
Alvaro Herrera ad86d159b6
Add 'missing_ok' argument to build_attrmap_by_name 3 years ago
Etsuro Fujita ffbb7e65a8 Fix handling of pending inserts in nodeModifyTable.c. 3 years ago
David Rowley 66fa8ff637 Remove various duplicated words 3 years ago
David Rowley 3e0fff2e68 More -Wshadow=compatible-local warning fixes 3 years ago
Tom Lane efd0c16bec Avoid using list_length() to test for empty list. 3 years ago
David Rowley 3592e0ff98 Have ExecFindPartition cache the last found partition 3 years ago
Alvaro Herrera 183c869e1c
adjust_partition_colnos mustn't be called if not needed 3 years ago
Alvaro Herrera a90641eac2
Revert "Rewrite some RI code to avoid using SPI" 3 years ago
Alvaro Herrera 99392cdd78
Rewrite some RI code to avoid using SPI 3 years ago
Alvaro Herrera 297daa9d43
Refactor and cleanup runtime partition prune code a little 3 years ago
Alvaro Herrera 7103ebb7aa
Add support for MERGE SQL command 3 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Peter Eisentraut 2b00db4fb0 Use l*_node() family of functions where appropriate 4 years ago
Tom Lane def5b065ff Initial pgindent and pgperltidy run for v14. 4 years ago
Tom Lane 049e1e2edb Fix mishandling of resjunk columns in ON CONFLICT ... UPDATE tlists. 4 years ago
Alvaro Herrera 8aba932251
Fix relcache inconsistency hazard in partition detach 4 years ago
Tom Lane c5b7ba4e67 Postpone some stuff out of ExecInitModifyTable. 4 years ago
Tom Lane 86dc90056d Rework planning and execution of UPDATE and DELETE. 4 years ago
Alvaro Herrera 71f4c8c6f7
ALTER TABLE ... DETACH PARTITION ... CONCURRENTLY 4 years ago
Tomas Vondra 927f453a94 Fix tuple routing to initialize batching only for inserts 4 years ago
Heikki Linnakangas 6214e2b228 Fix permission checks on constraint violation errors on partitions. 4 years ago
Tom Lane 1d9351a87c Fix hash partition pruning with asymmetric partition sets. 4 years ago
Tomas Vondra b663a41363 Implement support for bulk inserts in postgres_fdw 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Tom Lane b3817f5f77 Improve hash_create()'s API for some added robustness. 5 years ago
Heikki Linnakangas fb5883da86 Remove PartitionRoutingInfo struct. 5 years ago
Heikki Linnakangas 6973533650 Revise child-to-root tuple conversion map management. 5 years ago
Tom Lane 2000b6c10a Don't fetch partition check expression during InitResultRelInfo. 5 years ago
Alvaro Herrera f481d28232
Check default partitions constraints while descending 5 years ago
Tom Lane 7a980dfc6c Fix matching of sub-partitions when a partitioned plan is stale. 5 years ago
Amit Kapila 33753ac9d7 Add object names to partition integrity violations. 5 years ago
Peter Eisentraut 3c173a53a8 Remove utils/acl.h from catalog/objectaddress.h 5 years ago
Bruce Momjian 7559d8ebfa Update copyrights for 2020 6 years ago
Tom Lane 5b9312378e Load relcache entries' partitioning data on-demand, not immediately. 6 years ago
Michael Paquier e1551f96e6 Refactor attribute mappings used in logical tuple conversion 6 years ago
Alvaro Herrera fe66125974 Remove 'msg' parameter from convert_tuples_by_name 6 years ago
David Rowley 1e6a759838 Use appendBinaryStringInfo in more places where the length is known 6 years ago
Tom Lane 1cff1b95ab Represent Lists as expansible arrays, not chains of cons-cells. 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
Tom Lane 6630ccad7a Restructure creation of run-time pruning steps. 6 years ago
Etsuro Fujita 3a45321a49 Fix thinko in ExecCleanupTupleRouting(). 6 years ago
Andres Freund 86b85044e8 tableam: Add table_multi_insert() and revamp/speed-up COPY FROM buffering. 6 years ago
Tom Lane 428b260f87 Speed up planning when partitions can be pruned at plan time. 6 years ago
Peter Eisentraut 5e1963fb76 Collations with nondeterministic comparison 6 years ago
Andres Freund c2fe139c20 tableam: Add and use scan APIs. 6 years ago
Robert Haas 898e5e3290 Allow ATTACH PARTITION with only ShareUpdateExclusiveLock. 6 years ago
Andres Freund 277cb78983 Don't reuse slots between root and partition in ON CONFLICT ... UPDATE. 6 years ago