Commit Graph

569 Commits (325bc54eed4ea0836a0bb715bb18342f0c1c668a)

Author SHA1 Message Date
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 7 years ago
Andres Freund fb504c5e4b Remove outdated comment in copy.c. 7 years ago
Alvaro Herrera 75445c1515 More message style fixes 7 years ago
Andres Freund 57a7a3adfe Remove unused struct member, enforce multi_insert callback presence. 7 years ago
Andres Freund 86b85044e8 tableam: Add table_multi_insert() and revamp/speed-up COPY FROM buffering. 7 years ago
Andres Freund d45e401586 tableam: Add table_finish_bulk_insert(). 7 years ago
Peter Eisentraut fc22b6623b Generated columns 7 years ago
Andres Freund 5db6df0c01 tableam: Add tuple_{insert, delete, update, lock} and use. 7 years ago
Peter Eisentraut 61dc407893 Improve code comment 7 years ago
Andres Freund c2fe139c20 tableam: Add and use scan APIs. 7 years ago
Robert Haas 898e5e3290 Allow ATTACH PARTITION with only ShareUpdateExclusiveLock. 7 years ago
Andres Freund ff11e7f4b9 Use slots in trigger infrastructure, except for the actual invocation. 7 years ago
Andres Freund b8d71745ea Store table oid and tuple's tid in tuple slots directly. 7 years ago
Tom Lane f09346a9c6 Refactor planner's header files. 7 years ago
Tomas Vondra 36a1281f86 Separate per-batch and per-tuple memory contexts in COPY 7 years ago
Heikki Linnakangas a5be6e9a1d Fix comments that claimed that mblen() only looks at first byte. 7 years ago
Tomas Vondra 4a8283d0ec Fix handling of volatile expressions in COPY FROM ... WHERE 7 years ago
Andres Freund e0c4ec0728 Replace uses of heap_open et al with the corresponding table_* function. 7 years ago
Tomas Vondra 31f3817402 Allow COPY FROM to filter data using WHERE conditions 7 years ago
Alvaro Herrera df5be63763 Rename macro to RELKIND_HAS_STORAGE 7 years ago
Bruce Momjian 97c39498e5 Update copyright for 2019 7 years ago
Michael Paquier bf491a9073 Disable WAL-skipping optimization for COPY on views and foreign tables 7 years ago
Tom Lane ade2d61ed0 Improve detection of child-process SIGPIPE failures. 7 years ago
Andres Freund 578b229718 Remove WITH OIDS support, change oid catalog column visibility. 7 years ago
Tom Lane cb09903fe6 Add needed #include. 7 years ago
Tom Lane ffa4cbd623 Handle EPIPE more sanely when we close a pipe reading from a program. 7 years ago
Alvaro Herrera 5c9a5513a3 Disallow COPY FREEZE on partitioned tables 7 years ago
Andres Freund 4da597edf1 Make TupleTableSlots extensible, finish split of existing slot type. 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
Andres Freund 763f2edd92 Rejigger materializing and fetching a HeapTuple from a slot. 7 years ago
Peter Eisentraut a7a1b44516 Fix crash in multi-insert COPY 7 years ago
Tom Lane d73f4c74dd In the executor, use an array of pointers to access the rangetable. 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
Tom Lane fdba460a26 Create an RTE field to record the query's lock mode for each relation. 7 years ago
Andres Freund 29c94e03c7 Split ExecStoreTuple into ExecStoreHeapTuple and ExecStoreBufferHeapTuple. 7 years ago
Peter Eisentraut 0d5f05cde0 Allow multi-inserts during COPY into a partitioned table 8 years ago
Alvaro Herrera 5b0c7e2f75 Don't needlessly check the partition contraint twice 8 years ago
Tom Lane ecac23511e Widen COPY FROM's current-line-number counter from 32 to 64 bits. 8 years ago
Tom Lane bdf46af748 Post-feature-freeze pgindent run. 8 years ago
Robert Haas 3d956d9562 Allow insert and update tuple routing and COPY for foreign tables. 8 years ago
Stephen Frost 0fdc8495bf Add default roles for file/program access 8 years ago
Robert Haas cfbecf8100 Enforce child constraints during COPY TO a partitioned table. 8 years ago
Alvaro Herrera 6666ee49f4 Fix state reversal after partition tuple routing 8 years ago
Robert Haas edd44738bc Be lazier about partition tuple routing. 8 years ago
Andres Freund ad7dbee368 Allow tupleslots to have a fixed tupledesc, use in executor nodes. 8 years ago
Peter Eisentraut 533c5d8bdd Fix application of identity values in some cases 8 years ago
Robert Haas 2f17844104 Allow UPDATE to move rows between partitions. 8 years ago
Robert Haas 19c47e7c82 Factor error generation out of ExecPartitionCheck. 8 years ago