Bruce Momjian
44aba28020
PGRES_POLLING_ACTIVE is unused, keep for backward compatibility.
...
Lennert Buytenhek
2003-03-20 06:23:30 +00:00
Peter Eisentraut
28efaf3ccd
Avoid mysterious warning about possibly uninitialized variable.
2003-03-19 16:05:41 +00:00
Barry Lind
44a6959f4a
Applied patch to work around server bug.
...
Modified Files:
jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
2003-03-19 04:06:20 +00:00
Peter Eisentraut
9384dc6e59
Improve error message.
2003-03-18 22:11:48 +00:00
Michael Meskes
6fad73ed45
Some bugfixes for numerical library.
2003-03-18 10:46:39 +00:00
Barry Lind
a6f00f3939
Applied updated translation patch
...
Modified Files:
errors_zh_TW.properties
2003-03-18 05:26:50 +00:00
Bruce Momjian
93b408ef86
Reorder crypt.h include for SunOS compile problem.
...
Fred Houweling
2003-03-17 17:58:57 +00:00
Michael Meskes
bb3730893b
Forgot some files...
2003-03-16 10:49:51 +00:00
Michael Meskes
a4f25b6a9c
Started working on a seperate pgtypes library. First test work. PLEASE test compilation on iother systems.
2003-03-16 10:42:54 +00:00
Barry Lind
9f66350b0e
Fixed parsing to handle \n for updateable result sets. Bug reported by Rich Cullingford.
...
Modified Files:
jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
2003-03-14 05:36:58 +00:00
Barry Lind
77ce53580b
Improved error message and added some log messages in batch update functionality
...
Modified Files:
jdbc/org/postgresql/errors.properties
jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
jdbc/org/postgresql/util/PSQLException.java
2003-03-14 01:21:47 +00:00
Tom Lane
e4704001ea
This patch fixes a bunch of spelling mistakes in comments throughout the
...
PostgreSQL source code.
Neil Conway
2003-03-10 22:28:22 +00:00
Barry Lind
05a966fca4
Applied patch from Paul Sorenson to correctly handle schema names in updateable result sets.
...
Applied patch from Rich Cullingford to fix a NPE in the absolute() method of result set.
Applied patch from Tarjei Skorgenes to fix a NPE when logging is enabled.
Modified Files:
jdbc/org/postgresql/core/BaseResultSet.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
jdbc/org/postgresql/jdbc2/Array.java
jdbc/org/postgresql/util/PSQLException.java
2003-03-08 06:06:55 +00:00
Barry Lind
6ee060f201
Cleanup and reorganization.
...
- Added a private api layer (org.postgresql.core.Base*)
- Cleaned up public api (org.postgresql.PG*)
- Added consistent headers and copywrite info
- Removed deprecated Serialize functionality
- Cleaned up imports
- Moved some files to more appropriate locations
Modified Files:
jdbc/org/postgresql/Driver.java.in
jdbc/org/postgresql/PGConnection.java
jdbc/org/postgresql/PGNotification.java
jdbc/org/postgresql/PGStatement.java
jdbc/org/postgresql/core/Encoding.java
jdbc/org/postgresql/core/Notification.java
jdbc/org/postgresql/core/QueryExecutor.java
jdbc/org/postgresql/core/StartupPacket.java
jdbc/org/postgresql/fastpath/Fastpath.java
jdbc/org/postgresql/fastpath/FastpathArg.java
jdbc/org/postgresql/geometric/PGbox.java
jdbc/org/postgresql/geometric/PGcircle.java
jdbc/org/postgresql/geometric/PGline.java
jdbc/org/postgresql/geometric/PGlseg.java
jdbc/org/postgresql/geometric/PGpath.java
jdbc/org/postgresql/geometric/PGpoint.java
jdbc/org/postgresql/geometric/PGpolygon.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSetMetaData.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
jdbc/org/postgresql/jdbc1/Jdbc1CallableStatement.java
jdbc/org/postgresql/jdbc1/Jdbc1Connection.java
jdbc/org/postgresql/jdbc1/Jdbc1DatabaseMetaData.java
jdbc/org/postgresql/jdbc1/Jdbc1PreparedStatement.java
jdbc/org/postgresql/jdbc1/Jdbc1ResultSet.java
jdbc/org/postgresql/jdbc1/Jdbc1ResultSetMetaData.java
jdbc/org/postgresql/jdbc1/Jdbc1Statement.java
jdbc/org/postgresql/jdbc2/AbstractJdbc2Blob.java
jdbc/org/postgresql/jdbc2/AbstractJdbc2Clob.java
jdbc/org/postgresql/jdbc2/AbstractJdbc2Connection.java
jdbc/org/postgresql/jdbc2/AbstractJdbc2DatabaseMetaData.java
jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSetMetaData.java
jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
jdbc/org/postgresql/jdbc2/Array.java
jdbc/org/postgresql/jdbc2/Jdbc2CallableStatement.java
jdbc/org/postgresql/jdbc2/Jdbc2Connection.java
jdbc/org/postgresql/jdbc2/Jdbc2PreparedStatement.java
jdbc/org/postgresql/jdbc2/Jdbc2ResultSet.java
jdbc/org/postgresql/jdbc2/Jdbc2ResultSetMetaData.java
jdbc/org/postgresql/jdbc2/Jdbc2Statement.java
jdbc/org/postgresql/jdbc3/AbstractJdbc3ResultSet.java
jdbc/org/postgresql/jdbc3/Jdbc3CallableStatement.java
jdbc/org/postgresql/jdbc3/Jdbc3Connection.java
jdbc/org/postgresql/jdbc3/Jdbc3PreparedStatement.java
jdbc/org/postgresql/jdbc3/Jdbc3ResultSet.java
jdbc/org/postgresql/jdbc3/Jdbc3ResultSetMetaData.java
jdbc/org/postgresql/jdbc3/Jdbc3Statement.java
jdbc/org/postgresql/largeobject/BlobInputStream.java
jdbc/org/postgresql/largeobject/BlobOutputStream.java
jdbc/org/postgresql/largeobject/LargeObject.java
jdbc/org/postgresql/largeobject/LargeObjectManager.java
jdbc/org/postgresql/test/jdbc2/Jdbc2TestSuite.java
jdbc/org/postgresql/test/jdbc2/optional/BaseDataSourceTest.java
jdbc/org/postgresql/util/MD5Digest.java
jdbc/org/postgresql/util/MessageTranslator.java
jdbc/org/postgresql/util/PGbytea.java
jdbc/org/postgresql/util/PGmoney.java
jdbc/org/postgresql/util/PGobject.java
jdbc/org/postgresql/util/PGtokenizer.java
jdbc/org/postgresql/util/PSQLException.java
jdbc/org/postgresql/util/UnixCrypt.java
Added Files:
jdbc/org/postgresql/core/BaseConnection.java
jdbc/org/postgresql/core/BaseResultSet.java
jdbc/org/postgresql/core/BaseStatement.java
jdbc/org/postgresql/core/Field.java
jdbc/org/postgresql/core/PGStream.java
Removed Files:
jdbc/org/postgresql/Field.java
jdbc/org/postgresql/PG_Stream.java
jdbc/org/postgresql/test/jdbc2/SerializeObject.java
jdbc/org/postgresql/test/jdbc2/SerializeTest.java
jdbc/org/postgresql/util/Serialize.java
2003-03-07 18:39:46 +00:00
Tom Lane
1d57374114
Use poll(2) in preference to select(2), if available. This solves
...
problems in applications that may have a large number of files open,
such that libpq's socket number exceeds the range supported by fd_set.
From Chris Brown.
2003-03-06 03:16:55 +00:00
Barry Lind
3d1a1e85cf
up build number to 202 for a new development build
...
Modified Files:
jdbc/org/postgresql/Driver.java.in
2003-02-27 05:58:08 +00:00
Barry Lind
4c943c87c1
A little cleanup. Removing an unnecessary method.
...
Modified Files:
jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
2003-02-27 05:56:27 +00:00
Barry Lind
1cc55168d7
Added support for SSL in the jdbc driver
...
Modified Files:
jdbc/build.xml jdbc/org/postgresql/Driver.java.in
jdbc/org/postgresql/PG_Stream.java
jdbc/org/postgresql/errors.properties
jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
jdbc/org/postgresql/util/PSQLException.java
2003-02-27 05:45:44 +00:00
D'Arcy J.M. Cain
9ff872a272
The quote function should return a string suitable for dropping into a
...
query string. This fixes a bug where bool types sometimes returned with
a string that could not be dropped into a query.
2003-02-26 13:16:50 +00:00
Michael Meskes
aedd189a5c
Allow SET CONNECTION to be followed by connection object without leading "TO" or "=".
...
Allow whenever statement to list function without parameters.
2003-02-25 15:58:03 +00:00
Michael Meskes
03829995cd
Forgot to commit Makefile change.
2003-02-21 15:19:18 +00:00
Tatsuo Ishii
e2a618fe25
Fix for GUC client_encoding variable not being handled
...
correctly. See following thread for more details.
Subject: [HACKERS] client_encoding directive is ignored in postgresql.conf
From: Tatsuo Ishii <t-ishii@sra.co.jp >
Date: Wed, 29 Jan 2003 22:24:04 +0900 (JST)
2003-02-19 14:31:26 +00:00
Michael Meskes
d5740d7e26
Added DATABASE command as alias to CONNECT TO.
2003-02-19 12:36:39 +00:00
Bruce Momjian
81f6db4803
Allow PQcmdTuples to return row counts for MOVE and FETCH.
...
Neil Conway
2003-02-19 03:59:02 +00:00
Michael Meskes
244d2d67a0
Added Informix "database" command.
2003-02-17 14:06:40 +00:00
Michael Meskes
1005c993a6
In Informix mode ecpg should still be able to parse preprocessor directives.
2003-02-14 16:40:01 +00:00
Michael Meskes
3a335375a9
- Synced parser and keyword file.
...
- More work on Informix compatibility.
2003-02-14 13:17:13 +00:00
Tom Lane
e8a10dc7e9
Fix some of the breakage from the IPV6 patch.
2003-02-14 01:24:26 +00:00
Michael Meskes
53c15ceda0
Just intermediate results for backup reasons.
2003-02-13 20:37:28 +00:00
Tom Lane
8d33f80fc4
Suppress gcc warning.
2003-02-13 18:13:22 +00:00
Michael Meskes
1a9b0613c1
- Applied error reporting patch by Matthew Vanecek
...
- Started with an Informix compatibility option.
2003-02-13 13:11:52 +00:00
Barry Lind
68c67fc8a8
Applied patch to update translation file, submitted by Zhenbang Wei
...
Modified Files:
jdbc/org/postgresql/errors_zh_TW.properties
2003-02-12 20:40:23 +00:00
Barry Lind
0dbb7aeac4
Patch to messages file from Holger Klawitter to add a missing message.
...
Patch to makefile to clean up some of the output
Modified Files:
jdbc/Makefile jdbc/org/postgresql/errors.properties
jdbc/org/postgresql/errors_de.properties
2003-02-12 06:13:04 +00:00
Barry Lind
43785a434e
upped build# to 201
2003-02-09 23:45:45 +00:00
Barry Lind
abcec0c125
Better error message on character set mismatches during conversion to unicode.
...
Also applied patch from Lars Stenberg to make callable statements use the form
select * from func() when running against a 7.3 server instead of select func() to allow for set returning functions to be called.
Modified Files:
jdbc/org/postgresql/errors.properties
jdbc/org/postgresql/core/Encoding.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
2003-02-09 23:14:55 +00:00
Dave Cramer
893678eda7
applied Kris Jurka's patch for numeric
2003-02-07 12:47:29 +00:00
Dave Cramer
32c3db0f86
patch from Oliver Jowett to implement some of the jdbc3 methods
2003-02-05 11:12:39 +00:00
Dave Cramer
985e551b48
Applied Kris Jurkas patch to fix rollback and SQLException
2003-02-04 11:01:52 +00:00
Dave Cramer
d23fd9572b
applied patch from Oliver Jowett
2003-02-04 10:44:37 +00:00
Barry Lind
28ce9f0fed
Two patches from Kris Jurka. One fixes a problem with incorrect type for double
...
and the other fixes a NPE in Statement.toString() under some circumstances.
The second patch was originally submitted by Oliver Jowett and updated by Kris
2003-02-04 10:09:32 +00:00
Barry Lind
16a30346c8
Patch from Nic Ferrier to add support for result sets being cursor based
...
so that rows can be fetched incrementally. This is enabled by using
setFetchSize()
2003-02-04 09:20:12 +00:00
Tom Lane
ef5842b5f7
#ifdef out stuff that shouldn't be compiled when not USE_SSL.
...
Curious that gcc doesn't complain about unreferenced static variables.
2003-02-03 22:33:51 +00:00
Bruce Momjian
0d3e36b668
Move pg_service.conf.sample to /interfaces/libpq.
2003-02-03 14:24:07 +00:00
Tom Lane
361eaa185f
Prevent core dump from calling Tcl_DontCallWhenDeleted() with a null
...
interp pointer. Per report from Gerhard Hintermayer.
2003-02-01 00:22:12 +00:00
Tom Lane
032235cafe
Apply ljb's patch to prevent both memory leak and core dump during
...
connection shutdown. This is a grotty workaround for a Tcl bug, but
said bug has been there long enough that I'm not holding my breath
for a real fix. Per discussions and testing from ljb and g.hintermayer.
2003-02-01 00:07:03 +00:00
Tom Lane
4ec457ad58
Fix regression in .pgpass support. From Neil Conway.
2003-01-30 19:49:54 +00:00
Tom Lane
3cb282f3e6
Guard against array overrun, per report from Yichen Xie. This case
...
can only occur if the constant DEFAULT_CLIENT_AUTHSVC is given a bogus
value, so it doesn't seem worth back-patching, but I'll fix it in HEAD.
2003-01-29 01:18:21 +00:00
Dave Cramer
aa78ca3a95
added fix from Joel Hock to get the inserted row into the current buffer
2003-01-23 18:49:22 +00:00
Michael Meskes
f8d8266ac5
Synced parser.
2003-01-21 20:01:12 +00:00
Barry Lind
56e6436c3a
Bumped up build number to 200
2003-01-14 09:42:07 +00:00