Michael Meskes
d57af54ffa
Fixed bug in adjust_informix that treated arrays as simple variables.
2004-05-05 15:06:21 +00:00
Kris Jurka
79e42a6eb2
Update the build.xml file to support building with the new 1.5 jdk
...
and ant 1.6.
2004-04-26 08:28:32 +00:00
Kris Jurka
1a60128573
Allow updateable ResultSets to support types that aren't directly
...
mappable to Java types, for example cidr.
Per report from Moray Taylor.
2004-04-24 01:54:45 +00:00
Michael Meskes
d8e53bd6c0
Fixed memory misusage in variable handling.
2004-04-23 06:17:27 +00:00
Barry Lind
28455721ff
Fix for bug with the jdbc driver not properly working with binary cursors and
...
the V3 protocol.
Modified Files:
Tag: REL7_4_STABLE
jdbc/org/postgresql/Driver.java.in
jdbc/org/postgresql/core/BaseResultSet.java
jdbc/org/postgresql/core/BaseStatement.java
jdbc/org/postgresql/core/Field.java
jdbc/org/postgresql/core/PGStream.java
jdbc/org/postgresql/core/QueryExecutor.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
jdbc/org/postgresql/jdbc1/Jdbc1CallableStatement.java
jdbc/org/postgresql/jdbc1/Jdbc1PreparedStatement.java
jdbc/org/postgresql/jdbc1/Jdbc1RefCursorResultSet.java
jdbc/org/postgresql/jdbc1/Jdbc1ResultSet.java
jdbc/org/postgresql/jdbc1/Jdbc1Statement.java
jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
jdbc/org/postgresql/jdbc2/Array.java
jdbc/org/postgresql/jdbc2/Jdbc2CallableStatement.java
jdbc/org/postgresql/jdbc2/Jdbc2PreparedStatement.java
jdbc/org/postgresql/jdbc2/Jdbc2RefCursorResultSet.java
jdbc/org/postgresql/jdbc2/Jdbc2ResultSet.java
jdbc/org/postgresql/jdbc2/Jdbc2Statement.java
jdbc/org/postgresql/jdbc3/AbstractJdbc3ResultSet.java
jdbc/org/postgresql/jdbc3/Jdbc3CallableStatement.java
jdbc/org/postgresql/jdbc3/Jdbc3PreparedStatement.java
jdbc/org/postgresql/jdbc3/Jdbc3RefCursorResultSet.java
jdbc/org/postgresql/jdbc3/Jdbc3ResultSet.java
jdbc/org/postgresql/jdbc3/Jdbc3Statement.java
jdbc/org/postgresql/test/jdbc2/Jdbc2TestSuite.java
jdbc/org/postgresql/test/jdbc2/OID74Test.java
Added Files:
Tag: REL7_4_STABLE
jdbc/org/postgresql/test/jdbc2/ServerCursorTest.java
2004-03-29 17:47:47 +00:00
Michael Meskes
d9a1b2548f
Fixed possible segfault in type.c (by Juergen Cappel)
2004-03-29 15:12:08 +00:00
Tom Lane
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
Michael Meskes
e6bc372174
Committed Informix compat bug fix to 7.4 as well.
2004-03-14 12:18:35 +00:00
Bruce Momjian
49bc9c45c9
Brand 7.4.2. Release notes still need work.
2004-03-05 19:57:22 +00:00
Tom Lane
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
Michael Meskes
ea41a8cc5f
- Fixed segfault due to missing check for variable declaration.
...
- Added check for multidimensional array usage.
2004-03-04 07:38:50 +00:00
Kris Jurka
926fd43d77
Update build number in anticipation of 7.4.2 release. With no
...
currently outstanding issues we'll flag now, so the release doesn't
slip out the door without it.
2004-03-04 03:25:10 +00:00
Bruce Momjian
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
Michael Meskes
f7a9dbce8d
Added the missing rules for VOLATILE.
2004-03-02 06:52:18 +00:00
Michael Meskes
bc0476f9c8
- Corrected error handling in PGTYPEStimestamp_from_asc.
...
- Set pgtypeslib version to 1.2.
2004-02-24 16:09:16 +00:00
Kris Jurka
935e6e502d
Closing a Connection or Statement object twice should be a no-op
...
instead of throwing an Exception.
Per report from Victor Sergienko.
2004-02-24 13:11:45 +00:00
Michael Meskes
fd7d98a271
Fixed incorrect output of indicator structs using the name of the data struct.
2004-02-23 18:14:30 +00:00
Michael Meskes
fe92ed8b78
- Allowed some C keywords to be used as SQL column names. This used to work in 7.3.*
2004-02-15 15:40:54 +00:00
Michael Meskes
67893da1c1
- Added missing braces to array parsing.
...
- Set ecpg version to 3.1.1.
- Removed that old debugging output that I forgot the last time.
2004-02-15 13:50:02 +00:00
Tom Lane
18b8cb5a9e
Repair missing inclusions of -lintl for shared libraries.
2004-02-10 07:26:48 +00:00
Kris Jurka
24bd490369
Don't try to turn the random bytes from a md5 salt into a String
...
because it may not be a valid String depending on the encoding.
Per report from Nadeem Bitar.
2004-02-10 01:58:48 +00:00
Kris Jurka
932001350b
V3 NotificationResonse messages were trying to be received as V2
...
messages. Also the PID was being read in the wrong byte order.
Finally add a test case for listen/notify.
Per report from Hans Nather.
2004-02-03 05:43:24 +00:00
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
Michael Meskes
9be4433789
Commit the remaining parts of the array changes.
2003-11-12 08:42:57 +00:00
Michael Meskes
9736e8f95c
Re-added forgotten cache.
2003-11-10 20:28:06 +00:00
Tom Lane
939c203974
Restore compatibility with Tcl 8.0.* --- from ljb.
2003-11-08 20:34:42 +00:00
Michael Meskes
d3268ee2ef
Fix parsing of create index call
2003-11-08 19:14:20 +00:00
Michael Meskes
f651e7cfbe
Make sure bug fix makes it into 7.4 as well. Thanks Peter.
2003-11-04 08:45:47 +00:00
Peter Eisentraut
1af403e42d
Complete options help and put it in less random order.
2003-11-02 12:55:24 +00:00
Tom Lane
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
Michael Meskes
e6152300f1
If EOF is found inside a string/comment/etc. stop parsing.
2003-10-31 14:10:41 +00:00
Tom Lane
ede9b68e03
Use Tcl ByteArray objects to avoid unwanted character set translation
...
in libpgtcl's lo_read/lo_write commands. Also, deal correctly with
failure return from lo_read(). ljb and Tom Lane.
2003-10-31 00:18:55 +00:00
Dave Cramer
f4b4d7ce60
use the result set to set the fetchsize
2003-10-30 12:18:56 +00:00
Michael Meskes
f590a5ea72
Applied patch by Dave Cramer to fix several bugs in compatlib.
2003-10-30 10:19:30 +00:00
Dave Cramer
7ecb6ede28
Patches from Oliver Jowett to fix CursorFetchTest, 7.4 now does not automatically delete cursors
2003-10-29 02:39:10 +00:00
Tom Lane
979b537522
Include -lkrb5 when needed for shlibs depending on libpq. Per report
...
from Johan Henselmans.
2003-10-28 21:55:58 +00:00
Michael Meskes
0262337ad3
Fixed bug with indicators when storage for the string is dynamically allocated.
2003-10-26 09:50:47 +00:00
Peter Eisentraut
002e7b3789
Translation updates
2003-10-25 18:03:21 +00:00
Bruce Momjian
6db0a6b035
Remove socket credentials defines not referenced.
2003-10-25 03:48:47 +00:00
Tom Lane
0634c01e3a
Add missing semicolon, per Johann Uhrmann.
...
Avoids warnings from newer bisons.
2003-10-22 16:43:42 +00:00
Tom Lane
7eb67fc98b
Cope with platforms that offer LONGLONG_MIN in place of the C99-spec
...
LLONG_MIN. One example is AIX, per report from Andreas.
2003-10-21 15:34:34 +00:00
Michael Meskes
3b72087bf6
Install dummy sqlda.h file since this is needed for compatibility.
2003-10-20 12:54:29 +00:00
Tom Lane
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
Michael Meskes
d5353acbc3
Check for both Informix modes when parsing include files.
2003-10-19 13:22:33 +00:00
Tom Lane
f2f7107024
Must free the pgParameterStatus chain in freePGconn(). My fault,
...
well spotted by Neil Conway.
2003-10-18 05:02:06 +00:00
Peter Eisentraut
578774d5f5
Translation update
2003-10-15 09:45:34 +00:00
Peter Eisentraut
dee5b779fa
New translation
2003-10-15 09:39:04 +00:00
Peter Eisentraut
037468eff2
New translation
2003-10-12 19:16:36 +00:00
Michael Meskes
84b35a7f76
Added missing "commit" in test case.
2003-10-12 15:19:46 +00:00
Peter Eisentraut
108f371769
Translation updates
2003-10-10 08:01:44 +00:00
Jan Wieck
f8d90fcc0a
Protected access to variable m_preparedCount via synchronized
...
function to prevent multiple threads using automatic cursors on
the same connection from stomping over each others cursor.
Jan
2003-10-09 01:17:07 +00:00
Michael Meskes
163f0b2d48
Removed my debug printf() call from numeric.c
2003-10-08 08:28:57 +00:00
Michael Meskes
cfd992ecba
Fixed floating point exception in long=>numeric conversion.
2003-10-07 18:36:46 +00:00
Peter Eisentraut
06e6aa236c
Add missing include file.
2003-10-07 08:07:56 +00:00
Michael Meskes
3cda980298
Fixed error handling in Informix compat str to date conversion.
2003-10-07 05:46:56 +00:00
Peter Eisentraut
f98cbb76a0
Translation updates
2003-10-06 17:37:39 +00:00
Peter Eisentraut
a0ab31dcc6
New Slovene translations
2003-10-06 16:31:16 +00:00
Michael Meskes
aeb1f6478e
- Fixed constant listing in execute using clause.
...
- Fixed typo in ecpg for Informix dec_t type.
- Fixed precision handling in Informix compat funxtions.
2003-10-06 06:44:55 +00:00
Peter Eisentraut
5e3aaf5402
Translation updates
2003-10-06 06:20:11 +00:00
Peter Eisentraut
eceff4cc55
Translation updates
2003-10-05 21:52:37 +00:00
Michael Meskes
8e6b74e4fd
Fixed bug in day of week processing.
2003-10-05 11:12:00 +00:00
Tom Lane
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
Peter Eisentraut
0a14ffe5b5
Translation updates
2003-10-04 18:13:16 +00:00
Peter Eisentraut
75e76e1cf5
Translation updates
2003-10-04 01:07:05 +00:00
Peter Eisentraut
4cb67993a7
Format help message internally consistent.
2003-10-04 01:06:38 +00:00
Peter Eisentraut
beb935148a
New translation
2003-10-03 22:39:34 +00:00
Tom Lane
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
Tom Lane
3b4c142030
Remove assorted compilation failures introduced by latest ecpg changes.
...
Also remove -g, which has no business in CPPFLAGS in the first place,
let alone being hardwired there by a sub-Makefile.
2003-10-03 17:04:48 +00:00
Michael Meskes
1bd5e054ed
Hide Informix datatypes. They are not seen by our built process anymore.
2003-10-03 10:07:28 +00:00
Tom Lane
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
Tom Lane
bf2f5d9463
Don't use 0 as a spelling of NULL.
2003-10-02 14:47:44 +00:00
Peter Eisentraut
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
Peter Eisentraut
f4d5d620f2
Make message fit guidelines.
2003-09-29 16:38:04 +00:00
Peter Eisentraut
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
Tom Lane
e0736689a3
Got the link order wrong :-(
2003-09-27 20:38:19 +00:00
Tom Lane
cd75f94daf
Adjust Darwin build to use the default 'two level namespace' linking
...
method. Fix a number of places where shared libraries were linked without
mentioning all the libraries they depend on; the Darwin and AIX ports
are known to require this, and it doesn't seem to hurt any other supported
platforms. (Hence, remove code in pl/tcl makefile that tried to avoid
mentioning other libs if not needed.)
2003-09-27 19:35:32 +00:00
Bruce Momjian
227dd9b427
Rename thread compile flag. Move thread test program to tools/thread,
...
and improve tests.
2003-09-27 15:32:48 +00:00
Michael Meskes
e11136e4a5
Fixed segfault after error in parsing precision argument.
2003-09-26 15:16:29 +00:00
Bruce Momjian
266664fcd2
Fix creation of temporary sequences in ecpg, per report from Edmund Bacon.
2003-09-24 19:05:32 +00:00
Michael Meskes
5a5f0a6168
- Changed struct definition handling so "struct foo {}" always gets defined.
2003-09-23 12:56:35 +00:00
Barry Lind
2ec8ee0c0c
Fix to properly handle timezone offsets that are partial hours. If the offset
...
was a partial hour and less than gmt (i.e. -02:30) the code would corrupt the
minutes part.
Modified Files:
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
2003-09-23 06:13:52 +00:00
Barry Lind
618d56d09a
A fix for jdbc regression test submitted yesterday by Kim Ho at Redhat
...
Modified Files:
ResultSetTest.java
2003-09-23 06:11:06 +00:00
Michael Meskes
22c0b1f0f4
- Fixed order mismatch in processing "using" arguments.
...
- Fixed some minor things in test cases.
- Use defines for Informix error codes.
2003-09-22 13:19:39 +00:00
Barry Lind
8839b85ed8
Additional jdbc regression tests submitted by Oliver Jowett. Some tests are
...
currently commented out, pending fixes for the bugs these tests uncovered.
Modified Files:
jdbc/org/postgresql/test/jdbc2/Jdbc2TestSuite.java
jdbc/org/postgresql/test/jdbc2/ServerPreparedStmtTest.java
Added Files:
jdbc/org/postgresql/test/jdbc2/CursorFetchTest.java
2003-09-22 05:38:01 +00:00
Barry Lind
66d00417c9
Applied jdbc patch from Kim Ho at RedHat to improve boolean support, as well
...
as some additional regression tests for this an other recent changes.
Modified Files:
jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
jdbc/org/postgresql/test/jdbc2/DateTest.java
jdbc/org/postgresql/test/jdbc2/ResultSetTest.java
jdbc/org/postgresql/test/jdbc2/TimeTest.java
jdbc/org/postgresql/test/jdbc2/TimestampTest.java
2003-09-22 04:55:00 +00:00
Peter Eisentraut
278a13fe47
Translation updates
2003-09-22 00:27:01 +00:00
Peter Eisentraut
6f57d63cb4
Message wording improvements
2003-09-22 00:23:35 +00:00
Tom Lane
11b274f00f
Fix some ill-considered ifdefs, per report from Hans-JÏrgen SchÎnig.
2003-09-21 17:42:22 +00:00
Michael Meskes
3438065eed
- Renamed my own strndup() function because of a name clash.
2003-09-20 09:10:50 +00:00
Michael Meskes
f604b39c2f
- Applied some bug fixing patches by Dave Cramer <dave@fastcrypt.com>.
...
- Added protecting defines to include files.
2003-09-20 09:10:09 +00:00
Michael Meskes
580e08a98b
One small typo in preprocessor.
2003-09-19 14:13:16 +00:00
Michael Meskes
df974272ec
Removed superfluous return statement in get_data.
2003-09-19 14:06:21 +00:00
Michael Meskes
723a9bde33
- Accept output variables for FETCH in DECLARE statement.
...
- Synced parser.
- Allowed C variables to carry the name of prepared statements.
- Added Informix handling of datatype converion errors.
2003-09-18 13:12:23 +00:00
Barry Lind
215d965f0e
Applied patch from Oliver Jowett to clean up some instances where the wrong
...
type was being reported for PREPAREs.
Modified Files:
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
jdbc/org/postgresql/test/jdbc2/ServerPreparedStmtTest.java
2003-09-18 04:14:27 +00:00
Barry Lind
7da6afef26
Small jdbc patch from Kim Ho at RedHat to fix some boolean problems
...
Modified Files:
jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
2003-09-18 04:09:02 +00:00
Barry Lind
47cb1c3f94
A minor fix to jdbc regression tests
...
Modified Files:
jdbc/org/postgresql/test/jdbc2/DatabaseMetaDataPropertiesTest.java
2003-09-18 03:58:16 +00:00
Barry Lind
e8839c2b6c
Applied patch to jdbc from Kim Ho at RedHat, fixing improper handling of empty queries under the V3 protocol
...
Modified Files:
jdbc/org/postgresql/core/QueryExecutor.java
2003-09-17 08:21:36 +00:00
Barry Lind
c020d67bc6
Applied patch for jdbc from Kim Ho at RedHat to more correctly deal with boolean values
...
Modified Files:
jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
2003-09-17 07:00:24 +00:00
Barry Lind
292048f186
Fixed jdbc to correctly report that constraints are supported
...
Modified Files:
jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
2003-09-17 06:42:47 +00:00
Barry Lind
33815bf657
Applied patch from Fernando Nasser of RedHat to fix some error messages
...
that would not get correctly looked up in the translation files for jdbc
Modified Files:
jdbc/org/postgresql/errors.properties
jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
2003-09-17 05:14:52 +00:00
Barry Lind
0671b65b81
Applied patch from Kim Ho at redhat to improve boolean and bit handling
...
in the jdbc driver
Modified Files:
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
jdbc/org/postgresql/jdbc3/AbstractJdbc3Statement.java
2003-09-17 05:07:38 +00:00