Commit Graph

136 Commits (4d5111b3f1a151faf8129e38f8424898588e606d)

Author SHA1 Message Date
Alvaro Herrera a2dff271eb
Fix thinkos in comments 2 years ago
Alvaro Herrera dbca3469eb
Fix partition pruning setup during DETACH CONCURRENTLY 2 years ago
Alvaro Herrera b0ea16528c
Revert "Fix partition pruning setup during DETACH CONCURRENTLY" 2 years ago
Alvaro Herrera 27162a64b3
Fix partition pruning setup during DETACH CONCURRENTLY 2 years ago
Dean Rasheed 0294df2f1f Add support for MERGE ... WHEN NOT MATCHED BY SOURCE. 2 years ago
Dean Rasheed c649fa24a4 Add RETURNING support to MERGE. 2 years ago
Peter Eisentraut dbbca2cf29 Remove unused #include's from backend .c files 2 years ago
Dean Rasheed 5f2e179bd3 Support MERGE into updatable views. 2 years ago
Bruce Momjian 29275b1d17 Update copyright for 2024 2 years ago
David Rowley d9e46dfb78 Fix runtime partition pruning for HASH partitioned tables 2 years ago
Alvaro Herrera 5472743d9e
Revert "Move PartitionPruneInfo out of plan nodes into PlannedStmt" 3 years ago
Tom Lane 3c05284d83 Invent GENERIC_PLAN option for EXPLAIN. 3 years ago
Dean Rasheed 0d3b49d4af Fix Assert failure for MERGE into a partitioned table with RLS. 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Etsuro Fujita 594f8d3776 Allow batching of inserts during cross-partition updates. 3 years ago
Etsuro Fujita 4b3e379932 Remove new structure member from ResultRelInfo. 3 years ago
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 4 years ago
Alvaro Herrera a90641eac2
Revert "Rewrite some RI code to avoid using SPI" 4 years ago
Alvaro Herrera 99392cdd78
Rewrite some RI code to avoid using SPI 4 years ago
Alvaro Herrera 297daa9d43
Refactor and cleanup runtime partition prune code a little 4 years ago
Alvaro Herrera 7103ebb7aa
Add support for MERGE SQL command 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Peter Eisentraut 2b00db4fb0 Use l*_node() family of functions where appropriate 5 years ago
Tom Lane def5b065ff Initial pgindent and pgperltidy run for v14. 5 years ago
Tom Lane 049e1e2edb Fix mishandling of resjunk columns in ON CONFLICT ... UPDATE tlists. 5 years ago
Alvaro Herrera 8aba932251
Fix relcache inconsistency hazard in partition detach 5 years ago
Tom Lane c5b7ba4e67 Postpone some stuff out of ExecInitModifyTable. 5 years ago
Tom Lane 86dc90056d Rework planning and execution of UPDATE and DELETE. 5 years ago
Alvaro Herrera 71f4c8c6f7
ALTER TABLE ... DETACH PARTITION ... CONCURRENTLY 5 years ago
Tomas Vondra 927f453a94 Fix tuple routing to initialize batching only for inserts 5 years ago
Heikki Linnakangas 6214e2b228 Fix permission checks on constraint violation errors on partitions. 5 years ago
Tom Lane 1d9351a87c Fix hash partition pruning with asymmetric partition sets. 5 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. 6 years ago
Peter Eisentraut 3c173a53a8 Remove utils/acl.h from catalog/objectaddress.h 6 years ago