Commit Graph

212 Commits (3f244d020fbf0b4f01d71e1b7620930be4bf9dc5)

Author SHA1 Message Date
Tom Lane 3f244d020f Make new GENERATED-expressions code more bulletproof. 3 years ago
Tom Lane 3f7836ff65 Fix calculation of which GENERATED columns need to be updated. 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 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
Etsuro Fujita ffbb7e65a8 Fix handling of pending inserts in nodeModifyTable.c. 3 years ago
Alvaro Herrera 6ff5aa1299
Fix MERGE tuple count with DO NOTHING 3 years ago
Alvaro Herrera 01755490cf
Fix outdated comment in ExecDelete 3 years ago
Etsuro Fujita d54e79ba28 Fix copy-and-pasteo in comment. 3 years ago
John Naylor 6291b2546c Remove unnecessary semicolons after goto labels 3 years ago
Etsuro Fujita d5e3fe682a Update comment in ExecInsert() regarding batch insertion. 3 years ago
Peter Eisentraut 26f7802beb Message style improvements 3 years ago
Tom Lane 6ad86feecb Add CHECK_FOR_INTERRUPTS in ExecInsert's speculative insertion loop. 3 years ago
Tom Lane 23e7b38bfe Pre-beta mechanical code beautification. 4 years ago
Alvaro Herrera a87e759569
Move ModifyTableContext->lockmode to UpdateContext 4 years ago
Alvaro Herrera 3dcc6bf406
ExecModifyTable: use context.planSlot instead of planSlot 4 years ago
Alvaro Herrera 7103ebb7aa
Add support for MERGE SQL command 4 years ago
Alvaro Herrera 2d655a08d5
Blind fix for uninitialized memory bug in ba9a7e3921 4 years ago
Alvaro Herrera ba9a7e3921
Enforce foreign key correctly during cross-partition updates 4 years ago
Alvaro Herrera a1fc50672c
Fix an outdated and grammatically wrong comment 4 years ago
Alvaro Herrera 25e777cf8e
Split ExecUpdate and ExecDelete into reusable pieces 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Tomas Vondra 650663b4cb Use appropriate tuple descriptor in FDW batching 4 years ago
Andrew Dunstan e1c1c30f63
Pre branch pgindent / pgperltidy run 5 years ago
Tomas Vondra 99cea49d65 Fix copying data into slots with FDW batching 5 years ago
Tomas Vondra b676ac443b Optimize creation of slots for FDW bulk inserts 5 years ago
Tom Lane 2b0ee126bb Fix usage of "tableoid" in GENERATED expressions. 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
Tom Lane 0d46771eaa Comment cleanup for a1115fa07. 5 years ago
Tom Lane a1115fa078 Postpone some more stuff out of ExecInitModifyTable. 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
Heikki Linnakangas 6214e2b228 Fix permission checks on constraint violation errors on partitions. 5 years ago
Tomas Vondra 920f853dc9 Fix initialization of FDW batching in ExecInitModifyTable 5 years ago
Tomas Vondra b663a41363 Implement support for bulk inserts in postgres_fdw 5 years ago
Peter Geoghegan 9dc718bdf2 Pass down "logically unchanged index" hint. 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Alvaro Herrera a18422a3ad
Remove useless variable stores 5 years ago
Michael Paquier 7b94e99960 Remove catalog function currtid() 5 years ago
Tom Lane 20d3fe9009 In INSERT/UPDATE, use the table's real tuple descriptor as target. 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
Heikki Linnakangas f49b85d783 Clean up code to resolve the "root target relation" in nodeModifyTable.c 5 years ago
Heikki Linnakangas c5b097f8fa Refactor code for cross-partition updates to a separate function. 5 years ago
Heikki Linnakangas a04daa97a4 Remove es_result_relation_info from EState. 5 years ago
Heikki Linnakangas 1375422c78 Create ResultRelInfos later in InitPlan, index them by RT index. 5 years ago
Tom Lane 2000b6c10a Don't fetch partition check expression during InitResultRelInfo. 5 years ago
David Rowley 3cb02e307e Fix possible crash with GENERATED ALWAYS columns 6 years ago
Peter Eisentraut c6679e4fca Optimize update of tables with generated columns 6 years ago