Commit Graph

692 Commits

Author SHA1 Message Date
ecafa828c3 Fix mis-backport of libpq memory leak fix. Per Michael Fuhr. 2005-07-14 14:07:41 +00:00
57bdab7d35 Fix libpq memory leak during PQreset() --- closePGconn() was not
freeing all transient state of the PGconn object.
2005-07-13 15:26:16 +00:00
a5d10d66d1 Make libpq_gettext save and restore errno in a Windows-compatible way.
Also, back-patch fix into back branches.
2005-07-08 15:25:19 +00:00
26f64e4c7a Stamp release 7.4.8. 2005-05-05 20:08:35 +00:00
6067403326 Add WSACleanup() for Win32 socket cleanup.
Backpatch to 7.4.X.

Jason Erickson
2005-05-05 16:37:04 +00:00
9c1bb68356 Stamp release 7.4.7. 2005-01-30 19:32:22 +00:00
5328b5ef6b New translations 2004-10-30 08:22:17 +00:00
7447537803 Stamp release 7.4.6. 2004-10-22 00:26:24 +00:00
0bdacf50f1 Brand 7.4.5 ... now that was our shortest-lived release ever ... 2004-08-18 03:11:25 +00:00
17663e1aeb Stamp 7.4.4. 2004-08-15 00:24:04 +00:00
ba57e33d7f Stamp 7.4.3. Still need release notes. 2004-06-11 18:17:54 +00:00
fedfc5d363 Propagate enlargeStringInfo() fixes into the equivalent code in
pqexpbuffer.c.  While a client-side failure doesn't seem like a
security issue, it's still a bug.
2004-05-14 00:20:51 +00:00
0175b6d101 Fix error in termination of COPY IN mode when using V2 protocol.
Report and fix per ljb, 8-Mar-04.
2004-03-14 22:01:01 +00:00
49bc9c45c9 Brand 7.4.2. Release notes still need work. 2004-03-05 19:57:22 +00:00
5b6d0a4df7 libpq's query to get the OIDs of large-object support functions was not
schema-safe.  Make it so, and improve the internal support for knowledge
of server version.
2004-03-05 01:54:13 +00:00
fee9629cf1 Add missing sprompt.obj psql usage for Borland compiler, per private
report from krizsan.

Backpatch to 7.4.X.
2004-03-02 15:17:32 +00:00
31fc448196 Translation update 2004-01-13 18:58:42 +00:00
6a78eecf6f Translation updates 2004-01-07 17:44:07 +00:00
9c08d8fe56 Fix sanity-check code that mistakenly assumed error and notice messages
could never exceed 30K.  Per report from Andreas Pflug.
2003-12-28 17:44:05 +00:00
2315548ed7 Avoid infinite loop if connection is lost during PQexecStart() or
PQexecFinish().  Per report from Andreas Pflug.
2003-12-28 17:29:51 +00:00
1661b86bca Dept. of third thoughts: in fact, libpq should support SCM_CREDS challenge
even when HAVE_GETPEEREID is defined, else it will be unable to connect to
pre-7.4 backends that are using IDENT authentication.
2003-12-20 18:46:02 +00:00
7133152c5b Fix broken IDENT support for FreeBSD (appears to have been broken by
ill-considered conditional logic in getpeereid patch of 3-Dec-2002).
Per bug #1021.
2003-12-20 18:25:02 +00:00
41f60b20fd Backpatch pg_service.conf file change to not default dbname to match
service name.
2003-12-19 23:32:36 +00:00
7748c5ee29 Fix memory leak with SSL connections due to missing X509_free() calls.
Per Neil Conway.
2003-12-18 22:49:34 +00:00
735614c1cf Stamp 7.4.1.
Update 7.4.1 FAQ's to current.
2003-12-13 16:57:36 +00:00
10b84be9b3 Make PQescapeBytea and byteaout consistent with each other, and
octal escape all octets outside the range 0x20 to 0x7e. This fixes
the problem pointed out by Sergey Yatskevich here:
http://archives.postgresql.org/pgsql-bugs/2003-11/msg00140.php
2003-11-30 20:53:43 +00:00
1adcaadc2f Backpatch Borland thread.c fix to 7.4.X. 2003-11-30 06:02:40 +00:00
d8ada3c7cb Cast field-length variables used in printf to int, because sometimes
they might be of a wider type.
2003-11-26 15:54:59 +00:00
bcf4d35699 Minor cleanup of PQunescapeBytea(). Avoid unportable assumptions about
behavior of malloc and realloc when request size is 0.  Fix escape
sequence recognizer so that only valid 3-digit octal sequences are
treated as escape sequences ... isdigit() is not a correct test.
2003-10-31 17:43:10 +00:00
002e7b3789 Translation updates 2003-10-25 18:03:21 +00:00
6db0a6b035 Remove socket credentials defines not referenced. 2003-10-25 03:48:47 +00:00
9dfdbef345 Adjust libpq to avoid deadlock when both client and server want to send
data, and both have filled the transmission buffers.  One scenario where
this can happen was illustrated here:
http://archives.postgresql.org/pgsql-hackers/2003-04/msg00979.php
2003-10-19 21:36:41 +00:00
f2f7107024 Must free the pgParameterStatus chain in freePGconn(). My fault,
well spotted by Neil Conway.
2003-10-18 05:02:06 +00:00
578774d5f5 Translation update 2003-10-15 09:45:34 +00:00
037468eff2 New translation 2003-10-12 19:16:36 +00:00
108f371769 Translation updates 2003-10-10 08:01:44 +00:00
f98cbb76a0 Translation updates 2003-10-06 17:37:39 +00:00
a0ab31dcc6 New Slovene translations 2003-10-06 16:31:16 +00:00
5e3aaf5402 Translation updates 2003-10-06 06:20:11 +00:00
eceff4cc55 Translation updates 2003-10-05 21:52:37 +00:00
fa09ee6026 Document the always-true-but-previously-undocumented fact that PQfnumber()
will downcase the supplied field name unless it is double-quoted.  Also,
upgrade the routine's handling of double quotes to match the backend,
in particular support doubled double quotes within quoted identifiers.
Per pgsql-interfaces discussion a couple weeks ago.
2003-10-04 21:05:21 +00:00
0a14ffe5b5 Translation updates 2003-10-04 18:13:16 +00:00
75e76e1cf5 Translation updates 2003-10-04 01:07:05 +00:00
beb935148a New translation 2003-10-03 22:39:34 +00:00
251033186f Cause PQescapeString to stop processing at a null character, rather
than generating an invalid output string.  Per observation and patch
from Igor Shevchenko.  Further code cleanup and documentation by
Tom Lane.
2003-10-03 18:26:14 +00:00
b4966453f6 Do not return from PQrequestCancel until postmaster has finished
processing the request; this ensures that the request won't be taken
to cancel a subsequently-issued query.  Race condition originally
noted by Oliver Jowett in the context of JDBC, but libpq has it too.
2003-10-02 19:52:44 +00:00
bf2f5d9463 Don't use 0 as a spelling of NULL. 2003-10-02 14:47:44 +00:00
55fbc98b3f Adjust the new Norwegian translation for some of the easier message
changes between 7.3 and 7.4, for example quoting and function names.
2003-09-29 16:41:33 +00:00
f4d5d620f2 Make message fit guidelines. 2003-09-29 16:38:04 +00:00
a776bd9b69 New Norwegian translation by Trond Endrestøl, actually made for 7.3, but
this should help people get started in 7.4 as well.
2003-09-29 10:57:06 +00:00