Commit Graph

556 Commits (a68a894f0198aaeffa81b3027f135adcdaa8abf6)

Author SHA1 Message Date
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
Robert Haas cc6337d2fe Simplify and encapsulate tuple routing support code. 8 years ago
Bruce Momjian 9d4649ca49 Update copyright for 2018 8 years ago
Peter Eisentraut 2d2d06b7e2 Apply identity sequence values on COPY 8 years ago
Robert Haas 87c37e3291 Re-allow INSERT .. ON CONFLICT DO NOTHING on partitioned tables. 8 years ago
Robert Haas eaedf0df71 Update typedefs.list and re-run pgindent 8 years ago
Robert Haas 4e5fe9ad19 Centralize executor-related partitioning code. 8 years ago
Peter Eisentraut 2eb4a831e5 Change TRUE/FALSE to true/false 8 years ago
Noah Misch bab3a714b6 Ignore CatalogSnapshot when checking COPY FREEZE prerequisites. 8 years ago
Robert Haas 60f7c0abef Use ResultRelInfo ** rather than ResultRelInfo * for tuple routing. 8 years ago
Andres Freund 31079a4a8e Replace remaining uses of pq_sendint with pq_sendint{8,16,32}. 8 years ago
Andres Freund 0ba99c84e8 Replace most usages of ntoh[ls] and hton[sl] with pg_bswap.h. 8 years ago
Peter Eisentraut aa6b7b72d9 Fix saving and restoring umask 8 years ago
Tom Lane 0f79440fb0 Fix SQL-spec incompatibilities in new transition table feature. 8 years ago