Bruce Momjian
d46e643822
Add Win32 path handling for / vs. \ and drive letters.
2003-04-04 20:42:13 +00:00
Bruce Momjian
cdbd298b3a
Add prototype for toupper/tolower().
2003-04-03 05:25:41 +00:00
Tom Lane
1da6eb7fda
Whack getaddrinfo() patch around until it works, more or less, on
...
machines without IPv6. Or at least it works on HPUX 10.20 ...
2003-04-02 00:49:28 +00:00
Michael Meskes
7b85b730f5
More patches for informix compatibility.
2003-04-01 14:37:25 +00:00
Michael Meskes
5e37f16be0
Forgot two new files and one that was moved.
2003-03-30 13:26:09 +00:00
Michael Meskes
999f12982e
Moved Informix stuff to its own compat library. Interval datetype is now fully functional.
2003-03-30 11:48:19 +00:00
Peter Eisentraut
82a91eb54e
Simplify the socket handling code by supplying a replacement getaddrinfo()
...
function if the OS doesn't provide one.
2003-03-29 11:31:52 +00:00
Bruce Momjian
15b9e2c5ff
Add <stdlib> to add calloc() prototype.
2003-03-27 17:25:34 +00:00
Michael Meskes
89508a8492
More changes to pgtypeslib and set optimization to -O1.
2003-03-27 14:29:17 +00:00
Dave Cramer
9e29b32e78
patch to notify listeners on error from Csaba Nagy
2003-03-25 02:46:23 +00:00
Bruce Momjian
f1792b932c
Use PQfreemem() consistently, and document its use for Notify.
...
Keep PQfreeNotify() around for binary compatibility.
2003-03-25 02:44:36 +00:00
Dave Cramer
6a19c6dccf
added DISTINCT to the query to get cross reference. This is required when two columns in a table are both foreign keys to another table. From Peter Royal proyal@pace2020.com
2003-03-25 02:28:45 +00:00
Dave Cramer
326b2f96ae
fixed problem where information from previous updates was leaking into subsequent updates patch from Shawn Green, slightly modified
2003-03-25 02:24:07 +00:00
Barry Lind
e27334f405
New build number
2003-03-24 04:01:02 +00:00
Barry Lind
1e3372e6bb
Fix bug in reading acls (didn't treat null acl as meaning the table owner had
...
full privs), also updated the regression test for this case.
Modified Files:
jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
jdbc/org/postgresql/test/jdbc2/DatabaseMetaDataTest.java
2003-03-24 03:48:32 +00:00
Bruce Momjian
8f5fb5f24e
Remove ecpg #warning with approval from Michael.
2003-03-22 19:48:41 +00:00
Bruce Momjian
268bbf430f
Add missing #include for calloc in ecpg.
2003-03-22 17:12:23 +00:00
Bruce Momjian
23ecb8855d
Add PQfreemem() call for Win32.
2003-03-22 03:29:06 +00:00
Peter Eisentraut
1a7f4ed525
Make "win" a separate port from "cygwin". This means you can now
...
configure under native Windows (MinGW that is), but you won't get very far
compiling yet. The dynaloader files are from Jan Wieck's patch set.
2003-03-21 17:18:34 +00:00
Michael Meskes
b8f7d3d0b6
Do not free prepares statements at the end of a transaction.
2003-03-21 15:31:04 +00:00
Michael Meskes
524e9d62a7
Changes to the parser to accept new datatypes.
2003-03-21 14:17:47 +00:00
Michael Meskes
2e6f97560a
Started adding date and timestamp.
2003-03-20 15:56:50 +00:00
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