aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
Commit message (Collapse)AuthorAge
* Here's a patch against 7.1.3 that fixes a problem with sending largerBruce Momjian2002-03-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | queries over non-blocking connections with libpq. "Larger" here basically means that it doesn't fit into the output buffer. The basic strategy is to fix pqFlush and pqPutBytes. The problem with pqFlush as it stands now is that it returns EOF when an error occurs or when not all data could be sent. The latter case is clearly not an error for a non-blocking connection but the caller can't distringuish it from an error very well. The first part of the fix is therefore to fix pqFlush. This is done by to renaming it to pqSendSome which only differs from pqFlush in its return values to allow the caller to make the above distinction and a new pqFlush which is implemented in terms of pqSendSome and behaves exactly like the old pqFlush. The second part of the fix modifies pqPutBytes to use pqSendSome instead of pqFlush and to either send all the data or if not all data can be sent on a non-blocking connection to at least put all data into the output buffer, enlarging it if necessary. The callers of pqPutBytes don't have to be changed because from their point of view pqPutBytes behaves like before. It either succeeds in queueing all output data or fails with an error. I've also added a new API function PQsendSome which analogously to PQflush just calls pqSendSome. Programs using non-blocking queries should use this new function. The main difference is that this function will have to be called repeatedly (calling select() properly in between) until all data has been written. AFAICT, the code in CVS HEAD hasn't changed with respect to non-blocking queries and this fix should work there, too, but I haven't tested that yet. Bernhard Herzog
* Doug Fields patch to prevent exception being thrown on zero length arraysDave Cramer2002-03-05
|
* patch from Zhenbang WeiDave Cramer2002-03-05
| | | | | The errors_zh_TW.properties must be translated using native2ascii or it will raise an exception. Please replace the old file.
* Patch from Ryouichi MatsudaDave Cramer2002-03-05
| | | | | | | | | | | | | | | | An attached patch corrects problem of this bug and fractional second. The handling of time zone was as follows: (a) with time zone using SimpleDateFormat("yyyy-MM-dd HH:mm:ss z") (b) without time zone using SimpleDateFormat("yyyy-MM-dd HH:mm:ss") About problem of fractional second, Fractional second was changed from milli-second to nano-second
* patch from Mitchel Friedman to fix getTablesDave Cramer2002-03-05
|
* patch from Vicktor to fix Numeric decimal digits in getColumnsDave Cramer2002-03-05
|
* Back out python patch:Bruce Momjian2002-03-05
| | | | | | | | Elliot Lee wrote: > This patch to the python bindings adds C versions of the often-used query > args quoting routines, as well as support for quoting lists e.g. > dbc.execute("SELECT * FROM foo WHERE blah IN %s", ([1,2,3],))
* This patch to the python bindings adds C versions of the often-usedBruce Momjian2002-03-05
| | | | | | | query args quoting routines, as well as support for quoting lists e.g. dbc.execute("SELECT * FROM foo WHERE blah IN %s", ([1,2,3],)) Elliot Lee
* Add PQunescapeBytea libpq function.Bruce Momjian2002-03-04
| | | | | | Everyone using libpq and bytea is probably having to invent this wheel.. Patrick Welche
* Improve libpgeasy API for multiple result sets, add example.Bruce Momjian2002-03-04
|
* Fix bogus error check in pg_execute, per report from lbayuk@mindspring.com.Tom Lane2002-03-04
|
* Don't bother to request SSL connection over a Unix socket, since theTom Lane2002-03-02
| | | | | postmaster won't accept the request anyway. (If your kernel can't be trusted, SSL will not help you.)
* Add files for Unicode support.Hiroshi Inoue2002-03-01
|
* Improve the handling of ODBC escape(a request from Marcelo Aceto).Hiroshi Inoue2002-02-27
| | | | | Change SQLGetFunctions() to reply not yet implemented ODBC 3.0 functions precisely.
* Implementation for cancelQuery by Grant Finnemore <grantf@guruhut.co.za>Dave Cramer2002-02-26
|
* compiles correctly but still doesn't work with jdk 1.4Dave Cramer2002-02-24
|
* Heimdal support (Kerberos V implementation from KTH)Peter Eisentraut2002-02-23
|
* Add -Wno-error to CFLAGS, so the rest of the tree can compile withPeter Eisentraut2002-02-23
| | | | -Werror.
* fixed compile errorDave Cramer2002-02-22
|
* This patch fixes the exception thrown to inform the user the methodDave Cramer2002-02-22
| | | | | | | getColumnClassName(int) is not implemented. This will futher fixes method ResultSet.getObject(int) since it requires the getColumnClassName(int) method to return the proper java class used to map the database column. auther Ed Yu
* Patch from Cormac TwomeyDave Cramer2002-02-22
| | | | | fixes getIndexInfo throwing NullPointerException fixes getIndexInfo improper results when multiple key indexs are used
* Patch from Cormac TwomeyDave Cramer2002-02-22
| | | | | fixes getIndexInfo throwing NullPointerException fixes getIndexInfo improper results when multiple key indexs are used
* now compiles clean with jdk 1.4Dave Cramer2002-02-22
|
* Remove compile warnings in multibute mode.Hiroshi Inoue2002-02-18
|
* The version is now 7.01.0010.Hiroshi Inoue2002-02-18
| | | | | | | | | | | | | | | | | | | | | | | 1) Handle parameter array. 2) Allow re-use of the connection handle after SQLDisconnect. 3) Reject NULL if no indicator specified. 4) Improve the handling of '_' in table name. 5) Unify internal begin/commit/abort operations. 6) Change SQLTables() to return null not "" for the table_owner. 7) Fix a bug about parameter handling reported by Benoit Menendez. 8) Add cast in handling ODBC date/time escape sequences. 9) Fix a bug about cache_size handing in declare/fetch mode. [ODBC3.0 related] 10) Improve the handling of descriptor handles(ODBC3.0). 11) Improve the type handling of some types for ODBC3.0. [Thanks to Marcelo Aceto for his useful patches] 12) Allow nested ODBC escape. 13) Allow changing autocommit on/off inside the transaction block. 14) Improve the handling of ODBC scalar functions.
* Separate info30.c from info.c.Hiroshi Inoue2002-02-18
|
* Add files for ODBC3.0 support.Hiroshi Inoue2002-02-18
|
* Remove ODBC todo, add to main TODO.Bruce Momjian2002-02-18
|
* Remove warning about automatic inclusion of sqlca.Peter Eisentraut2002-02-15
|
* Update Win32-world version number of libpq++.Peter Eisentraut2002-01-30
|
* Added patch to temporarily disable locale for descriptors too (Christof)Michael Meskes2002-01-23
|
* libpq++/pgconnection.h must not include postgres_fe.h, else it fails toTom Lane2002-01-22
| | | | | | compile in client apps that use the standard installed header set. To allow removing that include, move DLLIMPORT definitions out of c.h and into the appropriate port-specific header files.
* Fixes to getImportedKeys/getExportedKeys from Jason DaviesDave Cramer2002-01-18
| | | | Previous versions did not correctly identify primary/foreign keys
* Accept subsequent commits. This should have been just a warning anyway. IMichael Meskes2002-01-18
| | | | cannot see a reason why it should be an error.
* Applied patch submitted by Ryouichi Matsuda (r-matuda@sra.co.jp) that fixed ↵Barry Lind2002-01-15
| | | | a problem with leading zeros being lost on fractional seconds when setting a timestamp value on a PreparedStatement.
* Applied patch from Ryouichi Matsuda <r-matuda@sra.co.jp> where the jdbcBarry Lind2002-01-15
| | | | | driver was not properly handling timestamptz datatype when using the getObject() method on ResultSet. Fix adds this datatype to the object mappings.
* Ensure that ecpg/test is cleaned by higher-level 'make clean'.Tom Lane2002-01-14
|
* Small AIX fixes from Rick Flower.Bruce Momjian2002-01-14
|
* - Fixed variable handling for struct members.Michael Meskes2002-01-13
| | | | | - Removed check for array input. An attribut might store the complete array.
* Added Christof's fixes.Michael Meskes2002-01-11
|
* *** empty log message ***Hiroshi Inoue2002-01-11
|
* Add a directory to save the changes until 7.3-tree is branched.Hiroshi Inoue2002-01-11
|
* Include sqlca.h automatically.Michael Meskes2002-01-10
|
* The result of getopt() should be compared to -1, not EOF, perTom Lane2002-01-10
| | | | pgsql-hackers discussion of this date.
* Fix include paths for case of VPATH build.Tom Lane2002-01-09
|
* Fix copy-and-paste mistake exposed by gcc warning.Tom Lane2002-01-08
|
* Revert last change (CFLAGS+=-g). Probably was a mistake...Peter Eisentraut2002-01-08
|
* Remove shift/reduce conflicts introduced by last change.Tom Lane2002-01-08
|
* Fixed array pointers, no longer using void * in arithmetics.Michael Meskes2002-01-08
|
* Fixed parser to accept initializing expressions starting with "(".Michael Meskes2002-01-07
|