Commit Graph

311 Commits (4e86efb4e51b66ef57b3fe6f28576de23a1bf1c6)

Author SHA1 Message Date
Tom Lane e550763121 Improve comment about 'if (1)' hack in copy.c macros. 17 years ago
Bruce Momjian 1a0ebe6152 Add comment about why "((void) 0)" is used in copy macros. 17 years ago
Michael Meskes fa88e92a1d Change macros to make gcc quiet when parsing. 17 years ago
Tom Lane 22c922269f Fix de-escaping checks so that we will reject \000 as well as other invalidly 17 years ago
Tom Lane 948d6ec90f Modify the relcache to record the temp status of both local and nonlocal 17 years ago
Tom Lane b793e8344a Adjust phrasing of complaints about multi-byte COPY delimiter strings. 17 years ago
Tom Lane 7449427a1e Clean up some loose ends from the column privileges patch: add 17 years ago
Tom Lane bbeb0bbf6b Include a pointer to the query's source text in QueryDesc structs. This is 17 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 years ago
Tom Lane c1f3073333 Clean up the API for DestReceiver objects by eliminating the assumption 17 years ago
Tom Lane 85e2cedf98 Improve bulk-insert performance by keeping the current target buffer pinned 17 years ago
Tom Lane 902d1cb35f Remove all uses of the deprecated functions heap_formtuple, heap_modifytuple, 17 years ago
Alvaro Herrera 5da9da71c4 Improve snapshot manager by keeping explicit track of snapshots. 18 years ago
Alvaro Herrera 78f02ca1f5 Rename snapmgmt.c/h to snapmgr.c/h, for consistency with other files. 18 years ago
Alvaro Herrera d43b085d57 Separate snapshot management code from tuple visibility code, create a 18 years ago
Andrew Dunstan 95c238d941 Improve efficiency of attribute scanning in CopyReadAttributesCSV. 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Andrew Dunstan 7284dfe42c Add sanity check to ensure delimiter and quote are different in CSV mode 18 years ago
Tom Lane 2e4cb7082c Disallow digits and lower-case ASCII letters as the delimiter in non-CSV 18 years ago
Tom Lane f1d1ca9a26 Fix ill-advised usage of x?y:z expressions in errmsg() and errhint() calls. 18 years ago
Tom Lane 16adaf1b80 Swap the order of testing for control characters and for column delimiter in 18 years ago
Tom Lane a63b63ff96 Revert COPY OUT to follow the pre-8.3 handling of ASCII control characters, 18 years ago
Tom Lane 895a94de6d Avoid incrementing the CommandCounter when CommandCounterIncrement is called 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Andrew Dunstan eb0a7735ba Perform post-escaping encoding validity checks on SQL literals and COPY input 19 years ago
Tom Lane 0a51e7073c Don't take ProcArrayLock while exiting a transaction that has no XID; there is 19 years ago
Neil Conway c1d89c61fc Minor code cleanup: calling FreeFile() before ereport(ERROR) is not 19 years ago
Tom Lane 011b51cb7e Marginal hacking to improve the speed of COPY OUT. I had found in a bit of 19 years ago
Tom Lane bbbe825f5f Modify processing of DECLARE CURSOR and EXPLAIN so that they can resolve the 19 years ago
Bruce Momjian c228448910 Update docs/error message for CSV quote/escape --- must be ASCII. 19 years ago
Bruce Momjian 4029a5af9b Update error message for COPY with a multi-byte delimiter. 19 years ago
Tom Lane 66888f7424 Expose more cursor-related functionality in SPI: specifically, allow 19 years ago
Tom Lane fba8113c1b Teach CLUSTER to skip writing WAL if not needed (ie, not using archiving) 19 years ago
Tom Lane b9527e9840 First phase of plan-invalidation project: create a plan cache management 19 years ago
Neil Conway 90d76525c5 Add resetStringInfo(), which clears the content of a StringInfo, and 19 years ago
Tom Lane 9cbd0c155d Remove the Query structure from the executor's API. This allows us to stop 19 years ago
Bruce Momjian ef65f6f7a4 Prevent WAL logging when COPY is done in the same transation that 19 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Peter Eisentraut b9b4f10b5b Message style improvements 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago
Bruce Momjian c23be34a25 Attibution addition: Add Karel Zak also for COPY SELECT. 20 years ago
Bruce Momjian d22164d4c4 Correct attibution: 20 years ago
Tom Lane 85188ab883 Extend COPY to support COPY (SELECT ...) TO ... 20 years ago
Bruce Momjian e0522505bd Remove 576 references of include files that were not needed. 20 years ago
Bruce Momjian a22d76d96a Allow include files to compile own their own. 20 years ago
Tom Lane 4d63e26774 Further hacking on performance of COPY OUT. It seems that fwrite()'s 20 years ago
Tom Lane 0a5fdb0d91 Reduce per-character overhead in COPY OUT by combining calls to 20 years ago
Tom Lane c61a2f5841 Change the backend to reject strings containing invalidly-encoded multibyte 20 years ago
Tom Lane 7fdb4305db Fix a bunch of problems with domains by making them use special input functions 20 years ago
Tom Lane 147d4bf3e5 Modify all callers of datatype input and receive functions so that if these 20 years ago