Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update this branch to match CVS head, includes WIN32 improvements. | Bruce Momjian | 2003-09-07 | 35 | -789/+1159 |
| | |||||
* | 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 |
| | |||||
* | Update copyrights to 2003. | Bruce Momjian | 2003-08-04 | 26 | -51/+51 |
| | |||||
* | pgindent run. | Bruce Momjian | 2003-08-04 | 51 | -2150/+2696 |
| | |||||
* | Remove extra paren in NOT_USED code, found by pgindent. | Bruce Momjian | 2003-08-04 | 1 | -2/+2 |
| | |||||
* | Code review for sslmode patch: eliminate memory leak, avoid giving a | Tom Lane | 2003-08-01 | 2 | -100/+42 |
| | | | | | | completely useless error message in 'allow' case, don't retry connection at the sendauth stage (by then the server will either let us in or not, no point in wasting cycles on another try in the other SSL state). | ||||
* | Missed two places to replace union member. | Michael Meskes | 2003-08-01 | 2 | -3/+3 |
| | |||||
* | Fix a few of the more blatantly unportable constructs in this file. | Tom Lane | 2003-08-01 | 1 | -23/+27 |
| | |||||
* | Fix inconsistent static-vs-not-static declarations. | Tom Lane | 2003-08-01 | 1 | -3/+0 |
| | |||||
* | Fix compile warning. | Tom Lane | 2003-08-01 | 2 | -2/+4 |
| | |||||
* | Russian translation updates by Serguei Mokhov | Peter Eisentraut | 2003-08-01 | 1 | -227/+201 |
| | |||||
* | Use only two-part shared library version numbers, for better portability | Peter Eisentraut | 2003-08-01 | 3 | -6/+6 |
| | | | | and consistency. | ||||
* | Make ecpg SQLSTATE-aware. Map existing SQLCODE assignments to SQLSTATEs, | Peter Eisentraut | 2003-08-01 | 13 | -234/+174 |
| | | | | | rather than parsing the message. Add some documentation about embedded SQL. | ||||
* | Added missing TO keyword. | Michael Meskes | 2003-08-01 | 1 | -1/+2 |
| |