Commit Graph

227 Commits (1d369c9e90f311ec98b07a259cac48c404c773d5)

Author SHA1 Message Date
Michael Paquier 806fad7573 Fix buffer refcount leak with FDW bulk inserts 3 years ago
David Rowley 3f58a4e296 Fix various typos and incorrect/outdated name references 3 years ago
David Rowley b4dbf3e924 Fix various typos 3 years ago
Alexander Korotkov b0b91ced16 Revert 764da7710b 3 years ago
Alexander Korotkov 2b65bf046d Revert 11470f544e 3 years ago
Alexander Korotkov 11470f544e Allow locking updated tuples in tuple_update() and tuple_delete() 3 years ago
Alexander Korotkov 764da7710b Evade extra table_tuple_fetch_row_version() in ExecUpdate()/ExecDelete() 3 years ago
Tomas Vondra 19d8e2308b Ignore BRIN indexes when checking for HOT updates 3 years ago
Dean Rasheed 7b14e20b12 Fix MERGE command tag for actions blocked by BEFORE ROW triggers. 3 years ago
Dean Rasheed 9321c79c86 Fix concurrent update issues with MERGE. 3 years ago
Tom Lane 7fee7871b4 Fix some more cases of missed GENERATED-column updates. 3 years ago
Dean Rasheed 80a48e0f21 Fix MERGE command tag for cross-partition updates. 3 years ago
Michael Paquier 17feb6a566 Remove duplicated comment in nodeModifyTable.c 3 years ago
Alvaro Herrera fd923b5de9
Don't rely on uninitialized value in MERGE / DELETE 3 years ago
Dean Rasheed fe9e658f4d Ensure that MERGE recomputes GENERATED expressions properly. 3 years ago
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