| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Do not pass server_encoding to the client. | Peter Eisentraut | 2003-09-01 | 1 | -20/+10 |
| | | | | | | | libpq, talking to an old server, should assume SQL_ASCII as the default client encoding, because that is what the server will actually use (not the server encoding). | ||||
| * | Fixed two bugs in pgtypes library. | Michael Meskes | 2003-09-01 | 3 | -3/+7 |
| | | |||||
| * | Share PG_DIAG_* macros between client and server and use them internally. | Peter Eisentraut | 2003-08-27 | 4 | -32/+20 |
| | | |||||
| * | Fixed connect statement with username in variable. | Michael Meskes | 2003-08-26 | 3 | -3/+8 |
| | | |||||
| * | Attempt to fix setMaxFieldSize() logic that was checked in yesterday. | Barry Lind | 2003-08-26 | 2 | -2/+32 |
| | | | | | | | | | | | I think this should fix the problem, but since I don't have a reproducable test case, I can't be sure. This problem is reported by Kim Ho of redhat, who will test this fix. This also includes a test case for the original functionality. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/test/jdbc2/ResultSetTest.java | ||||
| * | Synced parser and fixed a bug in error output to log file. | Michael Meskes | 2003-08-25 | 3 | -12/+16 |
| | | |||||
| * | Applied patches from Oliver Jowett to fix the following bugs: | Barry Lind | 2003-08-24 | 10 | -32/+134 |
| | | | | | | | | | | | | | - adds a finalizer method to AbstractJdbc1Statement to clean up in the case of poor user code which fails to close the statement object - fix ant build file to correctly detect dependencies across jdbc1/jdbc2/jdbc3 - fix a coupld of server prepared statement bugs and added regression test for them Applied patch from Kim Ho: - adds support for get/setMaxFieldSize(). Also fixed build.xml to provide a better error message in the event that an older version of the driver exists in the classpath when trying to build. | ||||
| * | Translation updates | Peter Eisentraut | 2003-08-24 | 2 | -538/+645 |
| | | |||||
| * | Add macros for error result fields to libpq. | Peter Eisentraut | 2003-08-24 | 3 | -7/+19 |
| | | |||||
| * | Correct uninstall target. | Peter Eisentraut | 2003-08-23 | 1 | -2/+2 |
| | | |||||
| * | Translation updates | Peter Eisentraut | 2003-08-20 | 2 | -120/+124 |
| | | |||||
| * | Updated the blob regression test to actually use the getBlob/getClob methods | Barry Lind | 2003-08-15 | 1 | -5/+94 |
| | | | | | | | | and test them, in addition to testing the underlying LargeObject API methods. Modified Files: jdbc/build.xml jdbc/org/postgresql/test/jdbc2/BlobTest.java | ||||
| * | Fixed improper message length for the connection termination message 'X' when | Barry Lind | 2003-08-15 | 1 | -2/+2 |
| | | | | | | | | using the V3 protocol. Modified Files: jdbc1/AbstractJdbc1Connection.java | ||||
| * | libpq failed to cope with COPY FROM STDIN if the command was issued | Tom Lane | 2003-08-13 | 3 | -16/+44 |
| | | | | | | | | | | | via extended query protocol, because it sends Sync right after Execute without realizing that the command to be executed is COPY. There seems to be no reasonable way for it to realize that, either, so the best fix seems to be to make the backend ignore Sync during copy-in mode. Bit of a wart on the protocol, but little alternative. Also, libpq must send another Sync after terminating the COPY, if the command was issued via Execute. | ||||
| * | Add PQexecPrepared() and PQsendQueryPrepared() functions, to allow | Tom Lane | 2003-08-13 | 4 | -63/+182 |
| | | | | | | | libpq users to perform Bind/Execute of previously prepared statements. Per yesterday's discussion, this offers enough performance improvement to justify bending the 'no new features during beta' rule. | ||||
| * | Cope with NoData message from backend. Needed for case where | Tom Lane | 2003-08-12 | 1 | -3/+13 |
| | | | | | PQexecParams is used with a statement that doesn't return data. | ||||
| * | Applied patch from Oliver Jowett to clean up the jdbc regression test build | Barry Lind | 2003-08-11 | 2 | -48/+42 |
| | | | | | | | Modified Files: jdbc/build.xml jdbc/org/postgresql/test/jdbc3/Jdbc3TestSuite.java | ||||
| * | Applied patch from Oliver Jowett to better handle invalid input for getArray | Barry Lind | 2003-08-11 | 1 | -1/+3 |
| | | | | | | | | (no longer throw an index out of range exception) Modified Files: jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java | ||||
| * | Applied patch from Oliver Jowett to clean up some aditional warning messages | Barry Lind | 2003-08-11 | 1 | -3/+3 |
| | | | | | | | | from ant. Modified Files: jdbc/build.xml | ||||
| * | Applied patch from Oliver Jewett to fix a deprecation in newer versions of ant | Barry Lind | 2003-08-11 | 1 | -4/+7 |
| | | | | | | Modified Files: jdbc/build.xml | ||||
| * | Applied patch from Oliver Jewett to clean up the testing README file | Barry Lind | 2003-08-11 | 1 | -3/+3 |
| | | | | | | Modified Files: jdbc/org/postgresql/test/README | ||||
| * | Applied patch by Oliver Jowett to clean up some exception handling | Barry Lind | 2003-08-11 | 2 | -12/+4 |
| | | | | | | | Modified Files: jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/util/PSQLException.java | ||||
| * | Applied patch from Oliver Jowett to improve a buffer sizing. | Barry Lind | 2003-08-11 | 1 | -2/+2 |
| | | | | | | Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java | ||||
| * | Applied patch from Kim Ho to fix a regression against a 7.4 server. The result | Barry Lind | 2003-08-11 | 2 | -6/+10 |
| | | | | | | | | | | | of transaction isolation level changed from uppercase to lower case between 7.3 and 7.4. In testing, a regression was also fixed in this area when talking to a 7.2 server due to changes in how notice messages are processed in the current code. Modified Files: jdbc/build.xml jdbc/org/postgresql/core/BaseStatement.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java | ||||
| * | Translation updates | Peter Eisentraut | 2003-08-11 | 1 | -163/+144 |
| | | |||||
| * | Another pgindent run with updated typedefs. | Bruce Momjian | 2003-08-08 | 2 | -7/+7 |
| | | |||||
| * | sprompt not needed in libpq. | Bruce Momjian | 2003-08-08 | 1 | -3/+3 |
| | | |||||
| * | Fix null checking of type decimal datums without indicator in Informix | Peter Eisentraut | 2003-08-08 | 1 | -3/+5 |
| | | | | | | | mode. from Dave Cramer | ||||
| * | Be a little bit more careful about using sqlstate, in case libpq returned | Peter Eisentraut | 2003-08-08 | 2 | -8/+22 |
| | | | | | NULL for it. | ||||
| * | Translation updates by Dennis Björklund | Peter Eisentraut | 2003-08-08 | 1 | -199/+185 |
| | | |||||
| * | Remove postgres_ext.h inclusion -- not necessary. | Peter Eisentraut | 2003-08-08 | 1 | -1/+0 |
| | | |||||
| * | Move simple_prompt()/sprompt.c into /port. | Bruce Momjian | 2003-08-08 | 1 | -3/+3 |
| | | |||||
| * | Makefile cleanup. | Bruce Momjian | 2003-08-08 | 1 | -6/+3 |
| | | |||||
| * | Cleanup. | Bruce Momjian | 2003-08-08 | 1 | -2/+2 |
| | | |||||
| * | Makefile cleanup. | Bruce Momjian | 2003-08-08 | 1 | -2/+2 |
| | | |||||
| * | More thread.c cleanup. | Bruce Momjian | 2003-08-08 | 1 | -5/+1 |
| | | |||||
| * | More threading cleanups. | Bruce Momjian | 2003-08-08 | 1 | -2/+2 |
| | | |||||
| * | threads.c -> thread.c, be consistent. | Bruce Momjian | 2003-08-08 | 1 | -4/+4 |
| | | |||||
| * | Clean up function header. | Bruce Momjian | 2003-08-07 | 1 | -1/+1 |
| | | |||||
| * | Make table column type TEXT. | Bruce Momjian | 2003-08-07 | 1 | -3/+4 |
| | | |||||
| * | Add iteration option to thread test program. | Bruce Momjian | 2003-08-07 | 1 | -5/+15 |
| | | |||||
| * | Update ecpg thread testing program to be more automated. | Bruce Momjian | 2003-08-07 | 1 | -53/+79 |
| | | |||||
| * | Include postgres_ext.h instead of postgres_fe.h. This allows ecpg | Bruce Momjian | 2003-08-07 | 1 | -1/+1 |
| | | | | | output C files to proper compile again. | ||||
| * | Add -lm for ecpg/pgtypeslib/Makefile link so -lm isn't required for ecpg | Bruce Momjian | 2003-08-07 | 1 | -1/+2 |
| | | | | | compiles. | ||||
| * | Sometimes the third time is the charm. Third try to fix the sql injection | Barry Lind | 2003-08-07 | 1 | -20/+17 |
| | | | | | | | | | | | | | | | | 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: jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java | ||||
| * | Fix compiler-detected problem for Alphas: it seems strlen returns | Tom Lane | 2003-08-06 | 1 | -3/+3 |
| | | | | | | | something wider than int on that platform. Also, remove bogus assumption that sizeof("INT_MAX") has something to do with the maximum number of digits in an int. | ||||
| * | Applied patch from kho@redhat.com to fix a problem with trying to use a fetch | Barry Lind | 2003-08-06 | 1 | -1/+5 |
| | | | | | | | | when a cursor wasn't being used. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java | ||||
| * | Add ecpg thread testing file. | Bruce Momjian | 2003-08-06 | 5 | -13/+83 |
| | | |||||
| * | Fix some more problems with testing error returns from SSL. | Tom Lane | 2003-08-04 | 2 | -4/+23 |
| | | |||||
| * | Translation updates | Peter Eisentraut | 2003-08-04 | 2 | -268/+284 |
| | | |||||
