Kris Jurka
d71188860e
ConnectionPool and SimpleDataSource are marked Serializable, but their
...
superclass (which contains a number of state variables) is not. To
correctly serialize these objects we need to manually implement
writeObject and readObject.
Per report from R. Lemos
2004-02-03 05:28:17 +00:00
Kris Jurka
1a92a4c10c
ResultSet.next() and previous() incremented or decremented the
...
internal current_row variable regardless of wether they succeeded or
not. This generated some ArrayIndexOutOfBoundsExceptions when the
errorneous adjustment current_row led to out of range values.
Per report from Fischer Krisztian.
2004-02-03 05:25:38 +00:00
Kris Jurka
9287630fbc
Fix the setXXXStream methods. If passed a null InputStream, convert
...
this to a setNull call. The code originally would try to read the
whole stream in one call to read(), but this doesn't work. The
InputStream API makes it clear you must be prepared to loop and
continue reading if you didn't get the whole request on the first
try.
Per report from Martin Holz.
2004-02-03 05:13:56 +00:00
Kris Jurka
7ca2bff95f
Newer versions of the 1.4.2 jdk give warnings about having return in a
...
finally clause.
2004-02-03 05:00:21 +00:00
Neil Conway
a2b5cc81df
Use Tcl_PutEnv() in place of putenv() in libpgtcl, as the latter can
...
apparently corrupt the Tcl runtime. Per suggestion from Michael
Brusser <michael@synchronicity.com >
2004-02-02 01:00:58 +00:00
Michael Meskes
94189c9fc9
- Fixed prototype for ECPGprepared_statement to not moan about "const char"
...
- Fixed parsing of nested structures.
2004-01-28 09:55:53 +00:00
Michael Meskes
6932861e86
Added WHENEVER NOT_FOUND to SELECT/INSERT/UPDATE/DELETE.
2004-01-21 14:11:03 +00:00
Peter Eisentraut
31fc448196
Translation update
2004-01-13 18:58:42 +00:00
Peter Eisentraut
6a78eecf6f
Translation updates
2004-01-07 17:44:07 +00:00
Peter Eisentraut
0658e7905d
Translation updates
2004-01-05 19:15:55 +00:00
Michael Meskes
630f23962b
Fixed bug in GRANT OPTION FOR parsing.
2004-01-04 14:50:13 +00:00
Tom Lane
cd632c983e
Fix portability bugs: char values passed to <ctype.h> functions must
...
be cast to unsigned char. We have learned this the hard way before.
2004-01-04 04:17:14 +00:00
Michael Meskes
386258d3e5
Added missing whitespaces to array argument parsing.
2003-12-29 13:53:17 +00:00
Tom Lane
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
Tom Lane
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
Michael Meskes
a8c003ea9d
Fixed segfault in parsing of EXEC SQL SELECT * FROM foo() AS TBL( c int, i int);
2003-12-24 22:05:06 +00:00
Tom Lane
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
Tom Lane
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
Bruce Momjian
41f60b20fd
Backpatch pg_service.conf file change to not default dbname to match
...
service name.
2003-12-19 23:32:36 +00:00
Bruce Momjian
cdbfbcf987
Supress ecpg thread test if configure didn't enable threads. Fix
...
tools/thread to run even if configure didn't enable threads because this
test is used before enabling threads for the OS.
2003-12-19 23:29:29 +00:00
Tom Lane
7748c5ee29
Fix memory leak with SSL connections due to missing X509_free() calls.
...
Per Neil Conway.
2003-12-18 22:49:34 +00:00
Peter Eisentraut
3434f9e4df
Forgot to change one compatlib.h.
2003-12-18 20:25:57 +00:00
Peter Eisentraut
716a3d6cff
Move Informix compatibility include files out of the way. compatlib.h
...
was integrated into ecpg_informix.h, the other ones go into their own
subdirectory that is automatically considered by the embedded preprocessor
when in Informix mode.
2003-12-18 18:55:06 +00:00
Dave Cramer
757a328d0e
patch for new OID74Test
2003-12-18 04:18:15 +00:00
Dave Cramer
1d37f8e288
backpatch for OID74Test to conform with jdbc tests
2003-12-18 04:10:12 +00:00
Dave Cramer
6096a72a54
backpatch for rs.previous from Kris Jurka, reported by Andrew Fyfe
2003-12-18 03:35:55 +00:00
Dave Cramer
2864c18ee5
patch for building for an alternate port
2003-12-18 03:32:05 +00:00
Dave Cramer
b304212560
back patch by Kris Jurka to get the correct protocol version from the server
2003-12-18 03:29:12 +00:00
Dave Cramer
0323e570af
back patching fix for compat 7.1 binary stream issues with the new protocol
...
added test for same
2003-12-17 15:48:40 +00:00
Michael Meskes
96cee3f12a
Applied all bug fixes from head also to 7.4. Just bugfixes, no new features.
2003-12-17 15:31:51 +00:00
Bruce Momjian
735614c1cf
Stamp 7.4.1.
...
Update 7.4.1 FAQ's to current.
2003-12-13 16:57:36 +00:00
Dave Cramer
dbc5177883
patch for returning database metadata as system objects from Kris Jurka
2003-12-13 00:59:19 +00:00
Dave Cramer
b47863bcd6
add missing SQLState by Patrick Higgins
2003-12-12 18:39:01 +00:00
Dave Cramer
2712da556a
cancel row updates sets values to null by Kris Jurka
2003-12-12 18:38:19 +00:00
Dave Cramer
31769dcb02
patch to indicate why test cases failed from Oliver Jowett
2003-12-12 18:37:06 +00:00
Dave Cramer
2fdcd1aaac
fix casting pooled connections to PGStatement problem patch by JariP
2003-12-12 18:06:25 +00:00
Dave Cramer
26c89c312b
patch to build under jdk1.1 from Richard Scranton
2003-12-12 17:59:08 +00:00
Dave Cramer
6a621cac4a
binary stream patch by Kris Jurka fixes empty stream failure
2003-12-12 00:27:41 +00:00
Dave Cramer
2b75042dbd
metadata encoding patch from Kris Jurka
2003-12-12 00:24:13 +00:00
Dave Cramer
cbc56dcc8d
patch for unique foreign keys and test case from Kris Jurka
2003-12-11 19:25:08 +00:00
Dave Cramer
f954ebf577
patch to make PSQLState serializable, and a test case for it
...
added a test case for getLastOID
2003-12-11 03:59:37 +00:00
Dave Cramer
3800626d81
incremented the build number to 210
2003-12-10 18:25:11 +00:00
Dave Cramer
1276e1ed8f
backpatch for driver threadsafe problems
2003-12-05 21:22:03 +00:00
Dave Cramer
dfaf736bc7
patch from Kris Jurka to allow the server end port to be specified when running
...
regression tests, this is a backpatch to 7.4
2003-12-05 21:06:12 +00:00
Joe Conway
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
Bruce Momjian
1adcaadc2f
Backpatch Borland thread.c fix to 7.4.X.
2003-11-30 06:02:40 +00:00
Peter Eisentraut
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
Peter Eisentraut
83ab17e051
Rename USE_THREADS to ENABLE_THREAD_SAFETY to avoid name clash with Perl.
...
Fixes compliation failure with --enable-thread-safety --with-perl and Perl
5.6.1.
2003-11-24 13:11:27 +00:00
Michael Meskes
a62f62d78b
Fixed typo in create schema parsing.
2003-11-19 13:19:40 +00:00
Peter Eisentraut
64c11b9b87
Translation updates
2003-11-15 10:20:02 +00:00