summaryrefslogtreecommitdiff
path: root/src/interfaces
Commit message (Collapse)AuthorAgeFilesLines
* Update this branch to match CVS head, includes WIN32 improvements.Bruce Momjian2003-09-0735-789/+1159
|
* libpq failed to cope with COPY FROM STDIN if the command was issuedTom Lane2003-08-133-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 allowTom Lane2003-08-134-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 whereTom Lane2003-08-121-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 buildBarry Lind2003-08-112-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 getArrayBarry Lind2003-08-111-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 messagesBarry Lind2003-08-111-3/+3
| | | | | | | from ant. Modified Files: jdbc/build.xml
* Applied patch from Oliver Jewett to fix a deprecation in newer versions of antBarry Lind2003-08-111-4/+7
| | | | | Modified Files: jdbc/build.xml
* Applied patch from Oliver Jewett to clean up the testing README fileBarry Lind2003-08-111-3/+3
| | | | | Modified Files: jdbc/org/postgresql/test/README
* Applied patch by Oliver Jowett to clean up some exception handlingBarry Lind2003-08-112-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 Lind2003-08-111-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 resultBarry Lind2003-08-112-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 updatesPeter Eisentraut2003-08-111-163/+144
|
* Another pgindent run with updated typedefs.Bruce Momjian2003-08-082-7/+7
|
* sprompt not needed in libpq.Bruce Momjian2003-08-081-3/+3
|
* Fix null checking of type decimal datums without indicator in InformixPeter Eisentraut2003-08-081-3/+5
| | | | | | mode. from Dave Cramer
* Be a little bit more careful about using sqlstate, in case libpq returnedPeter Eisentraut2003-08-082-8/+22
| | | | NULL for it.
* Translation updates by Dennis BjörklundPeter Eisentraut2003-08-081-199/+185
|
* Remove postgres_ext.h inclusion -- not necessary.Peter Eisentraut2003-08-081-1/+0
|
* Move simple_prompt()/sprompt.c into /port.Bruce Momjian2003-08-081-3/+3
|
* Makefile cleanup.Bruce Momjian2003-08-081-6/+3
|
* Cleanup.Bruce Momjian2003-08-081-2/+2
|
* Makefile cleanup.Bruce Momjian2003-08-081-2/+2
|
* More thread.c cleanup.Bruce Momjian2003-08-081-5/+1
|
* More threading cleanups.Bruce Momjian2003-08-081-2/+2
|
* threads.c -> thread.c, be consistent.Bruce Momjian2003-08-081-4/+4
|
* Clean up function header.Bruce Momjian2003-08-071-1/+1
|
* Make table column type TEXT.Bruce Momjian2003-08-071-3/+4
|
* Add iteration option to thread test program.Bruce Momjian2003-08-071-5/+15
|
* Update ecpg thread testing program to be more automated.Bruce Momjian2003-08-071-53/+79
|
* Include postgres_ext.h instead of postgres_fe.h. This allows ecpgBruce Momjian2003-08-071-1/+1
| | | | output C files to proper compile again.
* Add -lm for ecpg/pgtypeslib/Makefile link so -lm isn't required for ecpgBruce Momjian2003-08-071-1/+2
| | | | compiles.
* Sometimes the third time is the charm. Third try to fix the sql injectionBarry Lind2003-08-071-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 returnsTom Lane2003-08-061-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 fetchBarry Lind2003-08-061-1/+5
| | | | | | | when a cursor wasn't being used. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java
* Add ecpg thread testing file.Bruce Momjian2003-08-065-13/+83
|
* Fix some more problems with testing error returns from SSL.Tom Lane2003-08-042-4/+23
|
* Translation updatesPeter Eisentraut2003-08-042-268/+284
|
* Update copyrights to 2003.Bruce Momjian2003-08-0426-51/+51
|
* pgindent run.Bruce Momjian2003-08-0451-2150/+2696
|
* Remove extra paren in NOT_USED code, found by pgindent.Bruce Momjian2003-08-041-2/+2
|
* Code review for sslmode patch: eliminate memory leak, avoid giving aTom Lane2003-08-012-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 Meskes2003-08-012-3/+3
|
* Fix a few of the more blatantly unportable constructs in this file.Tom Lane2003-08-011-23/+27
|
* Fix inconsistent static-vs-not-static declarations.Tom Lane2003-08-011-3/+0
|
* Fix compile warning.Tom Lane2003-08-012-2/+4
|
* Russian translation updates by Serguei MokhovPeter Eisentraut2003-08-011-227/+201
|
* Use only two-part shared library version numbers, for better portabilityPeter Eisentraut2003-08-013-6/+6
| | | | and consistency.
* Make ecpg SQLSTATE-aware. Map existing SQLCODE assignments to SQLSTATEs,Peter Eisentraut2003-08-0113-234/+174
| | | | | rather than parsing the message. Add some documentation about embedded SQL.
* Added missing TO keyword.Michael Meskes2003-08-011-1/+2
|