Commit Graph

258 Commits (4e086f7cb516b57624eb4b135c2539b827fb191e)

Author SHA1 Message Date
Bruce Momjian eb7bd06983 Prevent COPY from using newline or carriage return as delimiter or null. 20 years ago
Bruce Momjian 87289ff35c Add regression tests for CSV and \., and add automatic quoting of a 20 years ago
Bruce Momjian a598385f3b Our code had: 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Alvaro Herrera 902377c465 Rename the members of CommandDest enum so they don't collide with other uses of 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane 060d13f7c7 COPY's test for read-only transaction was backward; it prohibited COPY TO 21 years ago
Tom Lane 303e089df5 Clean up possibly-uninitialized-variable warnings reported by gcc 4.x. 21 years ago
Tom Lane 8889685555 Suppress signed-vs-unsigned-char warnings. 21 years ago
Tom Lane 14720f7c57 Fix unportable uses of <ctype.h> functions. Per Sergey Koposov. 21 years ago
Tom Lane 9b29f9f3f8 COPY performance improvements. Avoid calling CopyGetData for each input 21 years ago
Tom Lane d78397d301 Change typreceive function API so that receive functions get the same 21 years ago
Tom Lane 7762619e95 Replace pg_shadow and pg_group by new role-capable catalogs pg_authid 21 years ago
Bruce Momjian 202e6e73e6 Add support for \x hex escapes in COPY. 21 years ago
Bruce Momjian b63990c6a8 Add COPY WITH CVS HEADER to allow a heading line as the first line in 21 years ago
Tom Lane 278bd0cc22 For some reason access/tupmacs.h has been #including utils/memutils.h, 21 years ago
Bruce Momjian 902338e06d Convert some mulit-line comments in copy.c to single line, as appropriate. 21 years ago
Tom Lane 6c412f0605 Change CREATE TYPE to require datatype output and send functions to have 21 years ago
Tom Lane 162bd08b3f Completion of project to use fixed OIDs for all system catalogs and 21 years ago
Tom Lane adb1a6e95b Improve EXPLAIN ANALYZE to show the time spent in each trigger when 21 years ago
Tom Lane f97aebd162 Revise TupleTableSlot code to avoid unnecessary construction and disassembly 21 years ago
Bruce Momjian 5fdd9418ee Handle carriage returns and line feeds in COPY CSV mode. 21 years ago
PostgreSQL Daemon 2ff501590b Tag appropriate files for rc3 21 years ago
Bruce Momjian cb99679aad > If it bothers you that much. I'd make a flag, cleared at the start of 21 years ago
Tom Lane f245c4eb1a When implementing a coercion to a domain type with a combined 21 years ago
Tom Lane f05cfd2c73 Fix failure to think clearly about encoding conversion errors in COPY. 21 years ago
Tom Lane b2c4071299 Redesign query-snapshot timing so that volatile functions in READ COMMITTED 22 years ago
Tom Lane b339d1fff6 Fire non-deferred AFTER triggers immediately upon query completion, 22 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 22 years ago
Bruce Momjian da9a8649d8 Update copyright to 2004. 22 years ago
Tom Lane a393fbf937 Restructure error handling as recently discussed. It is now really 22 years ago
Tom Lane d70a42e642 Represent type-specific length coercion functions as pg_cast entries, 22 years ago
Tom Lane c541bb86e9 Infrastructure for I/O of composite types: arrange for the I/O routines 22 years ago
Tom Lane c3a153afed Tweak palloc/repalloc to allow zero bytes to be requested, as per recent 22 years ago
Neil Conway d0b4399d81 Reimplement the linked list data structure used throughout the backend. 22 years ago
Bruce Momjian 49d3d9cf40 Change COPY CSV keyword to be: 22 years ago
Bruce Momjian 52e4f27af9 Prevent doubling of escapes when not in quote mode for CSV. 22 years ago
Bruce Momjian 862b20b382 Complete TODO item: 22 years ago
Bruce Momjian 3a14336746 Modify COPY for() loop to use attnum as a variable name, not 'i'. 22 years ago
Bruce Momjian 4a72dbc1ae The attached applied patch throws an error if the delimiter appears in 22 years ago
Tom Lane 87bd956385 Restructure smgr API as per recent proposal. smgr no longer depends on 22 years ago
Tom Lane 2f0d43b251 Review uses of IsUnderPostmaster, change some tests to look at 22 years ago
Tom Lane c77f363384 Ensure that close() and fclose() are checked for errors, at least in 22 years ago
Tom Lane be4b8a867f Don't use %s-with-precision format spec to truncate data being displayed 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago
Tom Lane 0eceaaf9b7 Modify COPY FROM to match the null-value string against the column value 23 years ago
Tom Lane 0e319c7ad7 Improve context display for failures during COPY IN, as recently 23 years ago
Peter Eisentraut feb4f44d29 Message editing: remove gratuitous variations in message wording, standardize 23 years ago
Tom Lane ce2ab4131a Fix stupid typo (mine I suppose) in CopyGetData. Per report from Dave Cramer. 23 years ago
Tom Lane c01641f8ae libpq failed to cope with COPY FROM STDIN if the command was issued 23 years ago