Commit Graph

219 Commits (eb15f53c453ff1cbe8df1b1e324d0e57c329d31c)

Author SHA1 Message Date
Tom Lane eb15f53c45 Improve libpq's error recovery for connection loss during COPY. 12 years ago
Tom Lane 64207122a2 Fix PQsetvalue() to avoid possible crash when adding a new tuple. 15 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago
Heikki Linnakangas bc03c5937d Adjust error message, now that we expect other message types than connection 15 years ago
Bruce Momjian 5d950e3b0c Stamp copyrights for year 2011. 15 years ago
Tom Lane 81a530a65e Fix ill-advised placement of PGRES_COPY_BOTH enum value. 15 years ago
Robert Haas d3d414696f Allow bidirectional copy messages in streaming replication mode. 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Bruce Momjian 65e806cba1 pgindent run for 9.0 16 years ago
Tom Lane 50a90fac40 Stamp HEAD as 9.0devel, and update various places that were referring to 8.5 16 years ago
Bruce Momjian aa7e7ae9a6 Have SELECT and CREATE TABLE AS queries return a row count. While this 16 years ago
Robert Haas b13da41eba Fix unsafe loop test, and declare as_ident as bool rather than int. 16 years ago
Robert Haas d66679672f Add new escaping functions PQescapeLiteral and PQescapeIdentifier. 16 years ago
Bruce Momjian 0239800893 Update copyright for the year 2010. 16 years ago
Tom Lane 5b8ee5c128 Teach PQescapeByteaConn() to use hex format when the target connection is 17 years ago
Tom Lane a2a8c7a662 Support hex-string input and output for type BYTEA. 17 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Michael Meskes e7f4923d3b Reverting patch just in case a compiler treats this enum as signed. 17 years ago
Michael Meskes ab9981ccc6 Removed comparison of unsigned expression < 0. 17 years ago
Bruce Momjian 511db38ace Update copyright for 2009. 17 years ago
Tom Lane e2b7d0c65c Improve the recently-added libpq events code to provide more consistent 18 years ago
Tom Lane 32f159cc55 Add an "events" system to libpq, whereby applications can get callbacks that 18 years ago
Tom Lane bacf7b2086 Avoid using sprintf() for a simple octal conversion in PQescapeByteaInternal. 18 years ago
Bruce Momjian 2296e29998 Add libpq comment about how to determine the format used for passing 18 years ago
Tom Lane 02ac305405 Tweak libpq to avoid crashing due to incorrect buffer size calculation when 18 years ago
Bruce Momjian 9098ab9e32 Update copyrights in source tree to 2008. 18 years ago
Tom Lane 8468146b03 Fix the inadvertent libpq ABI breakage discovered by Martin Pitt: the 18 years ago
Bruce Momjian 29dccf5fe0 Update CVS HEAD for 2007 copyright. Back branches are typically not 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago
Tom Lane 9a8920e1d7 Add PQdescribePrepared, PQdescribePortal, and related functions to libpq 20 years ago
Bruce Momjian 3f23f4eec8 Add some blank lines for formatting. 20 years ago
Bruce Momjian 3fafac3f62 Remove libpq's PQescapeIdentifier(), not safe from injection attacks. 20 years ago
Bruce Momjian 3b1790f987 Add PQescapeIdentifier() to libpq 20 years ago
Tom Lane 134b463f02 Fix up pg_dump to do string escaping fully correctly for client encoding 20 years ago
Alvaro Herrera 117d73a9e7 Don't call PQclear until the struct is really no longer going to be used. 20 years ago
Bruce Momjian c1d4551ae1 Add PQisthreadsafe() to libpq, to allow library applications to query 20 years ago
Tom Lane 515112f9d4 Modify libpq's string-escaping routines to be aware of encoding considerations 20 years ago
Tom Lane 20ab467d76 Improve parser so that we can show an error cursor position for errors 20 years ago
Bruce Momjian f2f5b05655 Update copyright for 2006. Update scripts. 20 years ago
Tom Lane 523adeb111 Teach PQcmdTuples() that a COPY command tag might contain a row count, 20 years ago
Tom Lane 9b012311f8 Remove unnecessary PQconsumeInput call from PQputCopyData; it's redundant 20 years ago
Neil Conway fb627b76cc Cosmetic code cleanup: fix a bunch of places that used "return (expr);" 20 years ago
Bruce Momjian 436a2956d8 Re-run pgindent, fixing a problem where comment lines after a blank 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Tom Lane 8889685555 Suppress signed-vs-unsigned-char warnings. 21 years ago
Bruce Momjian 43bf3a6bc6 The attached patch updates the thread test program to run stand-alone on 21 years ago
Bruce Momjian a970a8cb95 Back out incorrect commit. 21 years ago
Bruce Momjian eef7e30cc1 Fix function name. 21 years ago
Bruce Momjian f810cfb291 Disable strtoul() ERANGE check on Win32, because it isn't thread safe, 21 years ago
Bruce Momjian 74b49a8129 Add E'' to internally created SQL strings that contain backslashes. 21 years ago