Commit Graph

44 Commits (c83ac02ec7309edb7561eee93895c31a54b93d3d)

Author SHA1 Message Date
Robert Haas c83ac02ec7 Add ExplainState argument to pg_plan_query() and planner(). 2 months ago
Fujii Masao bc2f348e87 Support multi-line headers in COPY FROM command. 6 months ago
Amit Langote 1722d5eb05 Revert "Don't lock partitions pruned by initial pruning" 7 months ago
Fujii Masao 534874fac0 Allow "COPY table TO" command to copy rows from materialized views. 9 months ago
Masahiko Sawada bacbc4863b Refactor Copy{From|To}GetRoutine() to use pass-by-reference argument. 10 months ago
Masahiko Sawada 2e4127b6d2 Refactor COPY TO to use format callback functions. 10 months ago
Amit Langote 525392d572 Don't lock partitions pruned by initial pruning 10 months ago
Bruce Momjian 50e6eb731d Update copyright for 2025 12 months ago
Tom Lane 3eea7a0c97 Simplify executor's determination of whether to use parallelism. 1 year ago
Tom Lane 68ad9816c1 Fix wrong assertion and poor error messages in "COPY (query) TO". 1 year ago
Tom Lane 7702337489 Do not treat \. as an EOF marker in CSV mode for COPY IN. 1 year ago
Heikki Linnakangas 3943da46bc Refactor CopyOneRowTo 1 year ago
Alvaro Herrera 498ee9ee2f
Refactor error messages to reduce duplication 1 year 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
Michael Paquier 49e7c6f78e Fix indentation of copyto.c 2 years ago
Michael Paquier b619852086 Improve COPY TO performance when server and client encodings match 2 years ago
Michael Paquier b9d6038d70 Simplify signature of CopyAttributeOutCSV() in copyto.c 2 years ago
Michael Paquier 1aa8324b81 Revert "Refactor CopyAttributeOut{CSV,Text}() to use a callback in COPY TO" 2 years ago
Michael Paquier 2889fd23be Refactor CopyAttributeOut{CSV,Text}() to use a callback in COPY TO 2 years ago
Bruce Momjian 29275b1d17 Update copyright for 2024 2 years ago
Peter Eisentraut 611806cd72 Add trailing commas to enum definitions 2 years ago
Andrew Dunstan f6d4c9cf16 Provide FORCE_NULL * and FORCE_NOT_NULL * options for COPY FROM 2 years ago
Nathan Bossart f4b54e1ed9 Introduce macros for protocol characters. 2 years ago
Peter Eisentraut 0d15afc875 Simplify useless 0L constants 3 years ago
Tom Lane d66bb048c3 Ensure COPY TO on an RLS-enabled table copies no more than it should. 3 years ago
Bruce Momjian c8e1ba736b Update copyright for 2023 3 years ago
Michael Paquier 8e621c10c7 Remove code handling FORCE_NULL and FORCE_NOT_NULL for COPY TO 3 years ago
Michael Paquier 9fcdf2c787 Add support for COPY TO callback functions 3 years ago
Tom Lane 23e7b38bfe Pre-beta mechanical code beautification. 4 years ago
Alvaro Herrera 24d2b2680a
Remove extraneous blank lines before block-closing braces 4 years ago
Peter Eisentraut 791b1b71da Parse/analyze function renaming 4 years ago
Michael Paquier dc084d7c73 Fix incorrect memory context switch in COPY TO execution 4 years ago
Peter Eisentraut 43f33dc018 Add HEADER support to COPY text format 4 years ago
Peter Eisentraut 5553cbd4fe Add some const decorations 4 years ago
Bruce Momjian 27b77ecf9f Update copyright for 2022 4 years ago
Tom Lane 7c337b6b52 Centralize the logic for protective copying of utility statements. 5 years ago
Tom Lane def5b065ff Initial pgindent and pgperltidy run for v14. 5 years ago
Peter Eisentraut 544b28088f doc: Improve hyphenation consistency 5 years ago
Michael Paquier 9d2d457009 Add support for more progress reporting in COPY 5 years ago
Heikki Linnakangas 3174d69fb9 Remove server and libpq support for old FE/BE protocol version 2. 5 years ago
Tomas Vondra 8a4f618e7a Report progress of COPY commands 5 years ago
Bruce Momjian ca3b37487b Update copyright for 2021 5 years ago
Heikki Linnakangas c532d15ddd Split copy.c into four files. 5 years ago