Tom Lane
93bcee8d4e
Remove unused HAVE_STRUCT_SOCKCRED code, which was causing a duplicate-
...
variable-definition error on recent FreeBSDen (evidently, that platform
also HAS_STRUCT_CMSGCRED). Backport of 7.4 fix dated 2003-10-25.
2005-12-13 03:36:14 +00:00
Tom Lane
fbb687fa1b
Stamp 7.3.12.
2005-12-09 20:56:45 +00:00
Tom Lane
ae049f191d
Stamp release 7.3.11.
2005-10-03 17:24:27 +00:00
Tom Lane
f3d95f3c7f
Fix mis-backport of libpq memory leak fix. Per Michael Fuhr.
2005-07-14 14:07:50 +00:00
Tom Lane
32f9bc6f7d
Fix libpq memory leak during PQreset() --- closePGconn() was not
...
freeing all transient state of the PGconn object.
2005-07-13 15:26:25 +00:00
Tom Lane
d53f22de86
Make libpq_gettext save and restore errno in a Windows-compatible way.
...
Also, back-patch fix into back branches.
2005-07-08 15:25:36 +00:00
Tom Lane
07e3879c95
Stamp release 7.3.10.
2005-05-05 20:09:12 +00:00
Tom Lane
7929303d61
Stamp release 7.3.9.
2005-01-30 20:08:15 +00:00
Tom Lane
42a8068b5c
Stamp release 7.3.8.
2004-10-22 00:27:05 +00:00
Tom Lane
1bc489bc9c
Stamp 7.3.7.
2004-08-15 00:52:02 +00:00
Peter Eisentraut
6122f38b0a
Translation updates
2004-04-05 09:02:37 +00:00
Tom Lane
2d558b2baa
Brand 7.3.6.
2004-03-02 00:44:55 +00:00
Tom Lane
7af352f103
Brand 7.3.5.
2003-12-02 16:26:00 +00:00
Joe Conway
8582f21afd
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:52:37 +00:00
Tom Lane
fe979ae406
Back-patch removal of unnecessary inclusion of <crypt.h>, so that
...
7.3.5 will build out-of-the-box on Solaris.
2003-10-31 18:14:11 +00:00
Tom Lane
b0a0a80618
Sigh, I'm an idiot ... SSL_ERROR_WANT_READ isn't an error condition
...
at all, it just means 'no data available yet'.
2003-08-22 21:57:44 +00:00
Barry Lind
8ba1fa7db1
Backport to 7.3. Third try to fix the sql injection
...
vulnerability. This fix completely removes the ability (hack) of being able
to bind a list of values in an in clause. It was demonstrated that by allowing
that functionality you open up the possibility for certain types of
sql injection attacks. The previous fix attempts all focused on preventing
the insertion of additional sql statements (the semi-colon problem:
xxx; any new sql statement here). But that still left the ability to
change the where clause on the current statement or perform a subselect
which can circumvent applicaiton security logic and/or allow you to call
any stored function.
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/Driver.java.in
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
2003-08-07 17:56:27 +00:00
Tom Lane
5365a0cf52
Fix some more problems with testing error returns from SSL.
2003-08-04 17:25:29 +00:00
Barry Lind
83bc9b9d2e
Patch to fix additional SQL injection vulnerabilities reported by Oliver Jowett
...
and Dmitry Tkach
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/Driver.java.in
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
2003-07-23 23:34:31 +00:00
Bruce Momjian
1ecc0fdb00
Stamp 7.3.4 release.
2003-07-23 04:10:16 +00:00
Barry Lind
5d882f78ae
Fix to prevent SQL injection attacks when calling setObject(int,Object,int)
...
where the Object is a String and the type is numeric (i.e. INTEGER,LONG,etc).
The fix applies the standard escaping for these values.
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/Driver.java.in
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
2003-07-22 05:13:05 +00:00
Tom Lane
9bc3438b03
Brand 7.3.3.
2003-05-22 20:17:24 +00:00
Barry Lind
f3ed902421
Upped JDBC build number to 110 for the 7.3.3 release
...
Modified Files:
Tag: REL7_3_STABLE
Driver.java.in
2003-05-19 04:12:52 +00:00
Peter Eisentraut
977adedda8
Small translation updates for 7.3.3 release.
2003-05-18 23:51:41 +00:00
Barry Lind
52eeb494e7
Applied patches from Kris Jurka fixing a string tokenizing problem and
...
fixing an order by problem for index metadata results.
Also includes removing some unused code as well as a fix to the toString
method on statement.
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
2003-04-17 04:19:55 +00:00
Tom Lane
8d477bd33a
Fix error recovery for SSL_read/SSL_write calls.
2003-04-10 23:03:13 +00:00
Dave Cramer
6ee2c29354
added addDataType to the interface
2003-04-08 17:26:39 +00:00
Dave Cramer
a6f056987e
fixed problem where information from previous updates was leaking into subsequent updates patch from Shawn Green, slightly modified
2003-03-25 02:23:10 +00:00
Dave Cramer
1c4f2a63c0
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:01:19 +00:00
Dave Cramer
b27eb64e61
fixed problem where information from previous updates was leaking into subsequent updates patch from Shawn Green
2003-03-25 01:57:03 +00:00
Barry Lind
74a665a8b3
New build number
2003-03-24 04:01:38 +00:00
Barry Lind
8e2ca1a7d8
Backport fix for parsing acls (didn't correctly interpret null acl to mean
...
table owner has privs)
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
2003-03-24 03:49:49 +00:00
Barry Lind
e02ace4418
Backport patch to work around a server bug. Server incorrectly handles the
...
following: select 1; commit; set autocommit true;
If this is submitted in one call to the server (the select 1 doesn't start a
new transaction like it should), however if the select 1 is sent as a separate
call then it works correctly.
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
2003-03-19 04:09:09 +00:00
Barry Lind
d10ed0263e
Applied translation fixes
...
Modified Files:
Tag: REL7_3_STABLE
errors_zh_TW.properties
2003-03-18 05:24:36 +00:00
Barry Lind
1ad6337fd5
Backport fix for parsing \n in updateable result sets to 7.3 branch
...
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
2003-03-14 05:38:36 +00:00
Barry Lind
8f390674de
Backport batch update error message improvements to 7.3 branch
...
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/errors.properties
jdbc/org/postgresql/jdbc2/AbstractJdbc2Statement.java
jdbc/org/postgresql/util/PSQLException.java
2003-03-14 01:23:08 +00:00
Barry Lind
899c711070
Back ported patches from head to 7.3 branch (fixes for NPE in result set absolute() and NPE when logging enabled)
...
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
jdbc/org/postgresql/util/PSQLException.java
2003-03-08 06:09:37 +00:00
D'Arcy J.M. Cain
db34282fe3
Back patch bug fix to quote function.
2003-02-27 10:42:12 +00:00
Barry Lind
d47a0f7c76
Backport a fix from 7.4 to 7.3 to better handle case in updateable result sets.
...
This backports part of the fix made in version 1.11.
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java
2003-02-24 16:38:25 +00:00
Barry Lind
c73a769076
Applied patch to update translation file, submitted by Zhenbang Wei
...
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/errors_zh_TW.properties
2003-02-12 20:39:53 +00:00
Barry Lind
e4851e54ca
Backport patch from Fernando Nasser and Harald Krake to fix an invalid datatype problem.
...
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
2003-02-12 17:14:49 +00:00
Barry Lind
fa0c09bffc
Backport a patch from Kris Jurka to 7.3. Allows getTables() method to work
...
against 7.1 servers.
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
2003-02-12 06:01:02 +00:00
Barry Lind
d3038e6e2c
up build # to 108
2003-02-09 23:43:41 +00:00
Barry Lind
3448835967
Merge changes from head to 7.3 branch: better error message on character set conversion problems and patch from Kris Jurka for numeric scale
...
Modified Files:
Tag: REL7_3_STABLE
jdbc/org/postgresql/errors.properties
jdbc/org/postgresql/core/Encoding.java
jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
2003-02-09 23:41:46 +00:00
Dave Cramer
62ca0fce8f
Fix for rollback SQLException from Kris Jurka
2003-02-04 11:16:00 +00:00
Tom Lane
0f36c544d9
Brand 7.3.2.
2003-02-02 19:56:46 +00:00
Tom Lane
3be050da32
Prevent core dump from calling Tcl_DontCallWhenDeleted() with a null
...
interp pointer. Per report from Gerhard Hintermayer.
2003-02-01 00:22:23 +00:00
Tom Lane
a85d1d5468
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:19 +00:00
Tom Lane
5c508b7da1
Fix regression in .pgpass support. From Neil Conway.
2003-01-30 19:50:07 +00:00
Tom Lane
08b798e2ba
Back-patch typprtlen fix, two other minor post-7.3 fixes.
2003-01-21 19:57:50 +00:00