aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
Commit message (Collapse)AuthorAge
* clean up warnings produced by EclipseBarry Lind2003-05-29
|
* Adding .cvsignore files for Eclipse IDEBarry Lind2003-05-29
|
* Up the build number to reflect the changes for V3 protocol supportBarry Lind2003-05-29
|
* Initial attempt to integrate in V3 protocol support. This is still a work inBarry Lind2003-05-29
| | | | | | | | | | | | | | | | | | | | | | progress, although all RTs pass using the V3 protocol on a 7.4 database and also pass using the V2 protocol on a 7.3 database. SSL support is known not to work. Modified Files: jdbc/org/postgresql/PGConnection.java jdbc/org/postgresql/errors.properties jdbc/org/postgresql/core/BaseConnection.java jdbc/org/postgresql/core/Encoding.java jdbc/org/postgresql/core/Field.java jdbc/org/postgresql/core/PGStream.java jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/core/StartupPacket.java jdbc/org/postgresql/fastpath/Fastpath.java jdbc/org/postgresql/fastpath/FastpathArg.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java jdbc/org/postgresql/test/jdbc2/BlobTest.java jdbc/org/postgresql/test/jdbc2/CallableStmtTest.java jdbc/org/postgresql/test/jdbc2/MiscTest.java jdbc/org/postgresql/test/jdbc3/Jdbc3TestSuite.java
* Replace functional-index facility with expressional indexes. Any columnTom Lane2003-05-28
| | | | | | | | | | | of an index can now be a computed expression instead of a simple variable. Restrictions on expressions are the same as for predicates (only immutable functions, no sub-selects). This fixes problems recently introduced with inlining SQL functions, because the inlining transformation is applied to both expression trees so the planner can still match them up. Along the way, improve efficiency of handling index predicates (both predicates and index expressions are now cached by the relcache) and fix 7.3 oversight that didn't record dependencies of predicate expressions.
* Allow input from stdin and output to stdout.Michael Meskes2003-05-27
|
* Fixed incorrect output for some structs.Michael Meskes2003-05-27
|
* Adjust error-handling logic in libpq. For the first time, libpq copesTom Lane2003-05-26
| | | | sanely with running out of memory for a query result.
* Forgot these.Michael Meskes2003-05-23
|
* ecpg now accepts array elements as arguments.Michael Meskes2003-05-23
|
* Fix compilation on Cygwin.Peter Eisentraut2003-05-22
|
* Fixed segfault when detecting undefined cursor.Michael Meskes2003-05-22
|
* ecpg now recognizes named structs/unions. So you don't have to list the ↵Michael Meskes2003-05-22
| | | | whole definition everytime you declare a variable anymore.
* Reversed my incorrect fix.Michael Meskes2003-05-20
|
* Fixed exec sql ifdef command.Michael Meskes2003-05-19
|
* Made variable type double work again.Michael Meskes2003-05-16
|
* Fixed incorrect include and another typo. Sorry, the include did not create ↵Michael Meskes2003-05-16
| | | | a warning/error/problem on my machine, so I didn't notice it.
* Allow interfaces to compile under MingGW/Win32 by adding _P to symbolsBruce Momjian2003-05-16
| | | | in ecpg.
* Revert kerberos code breakage.Tom Lane2003-05-16
|
* Allow Win32 to compile under MinGW. Major changes are:Bruce Momjian2003-05-15
| | | | | | | | | | | | | | | Win32 port is now called 'win32' rather than 'win' add -lwsock32 on Win32 make gethostname() be only used when kerberos4 is enabled use /port/getopt.c new /port/opendir.c routines disable GUC unix_socket_group on Win32 convert some keywords.c symbols to KEYWORD_P to prevent conflict create new FCNTL_NONBLOCK macro to turn off socket blocking create new /include/port.h file that has /port prototypes, move out of c.h new /include/port/win32_include dir to hold missing include files work around ERROR being defined in Win32 includes
* - Added more compatibility functions.Michael Meskes2003-05-14
| | | | | - Accept CPP defines for type definitions. - Do not parse system include files automatically for Informix mode
* Fixed order of include file search path.Michael Meskes2003-05-13
|
* Add Makefile rules for new crypt/rint() /port functions. Add includeBruce Momjian2003-05-10
| | | | for rint prototype.
* More cleanups now that we have crypt().Bruce Momjian2003-05-09
|
* Add crypt() to /port for Win32.Bruce Momjian2003-05-09
|
* Add rint() to /port, remove from qnx/.Bruce Momjian2003-05-09
|
* I think we're done with protocol instability, so mark server and libpqTom Lane2003-05-08
| | | | as speaking the one true 3.0 protocol.
* Update 3.0 protocol support to match recent agreements about how toTom Lane2003-05-08
| | | | | | | handle multiple 'formats' for data I/O. Restructure CommandDest and DestReceiver stuff one more time (it's finally starting to look a bit clean though). Code now matches latest 3.0 protocol document as far as message formats go --- but there is no support for binary I/O yet.
* Fixed bug with Warnings. Warnings are not added to the Statement instead ofBarry Lind2003-05-07
| | | | | | | | | | | the connection when appropriate. This checkin also adds the type map for jdbc3, however currently it is identical to the jdbc2 mapping. Modified Files: jdbc/org/postgresql/core/BaseStatement.java jdbc/org/postgresql/core/QueryExecutor.java jdbc/org/postgresql/jdbc3/AbstractJdbc3Connection.java
* Add display of eventual result RowDescription (if any) to the outputTom Lane2003-05-06
| | | | | | of Describe on a prepared statement. This was in the original 3.0 protocol proposal, but I took it out for reasons that seemed good at the time. Put it back per yesterday's pghackers discussion.
* Added rfmtlong compatibility function.Michael Meskes2003-05-06
|
* Extended query protocol: parse, bind, execute, describe FE/BE messages.Tom Lane2003-05-05
| | | | Only lightly tested as yet, since libpq doesn't know anything about 'em.
* Patch to fix up LONGVARBINARY support submitted by Amit GollapudiBarry Lind2003-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (agollapudi@demandsolutions.com). Also applied the RefCursor support patch by Nic Ferrier. This patch allows you too return a get a result set from a function that returns a refcursor. For example: call.registerOutParameter(1, Types.OTHER); call.execute(); ResultSet rs = (ResultSet) call.getObject(1); Modified Files: jdbc/org/postgresql/core/BaseStatement.java jdbc/org/postgresql/jdbc1/AbstractJdbc1ResultSet.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java jdbc/org/postgresql/jdbc1/Jdbc1CallableStatement.java jdbc/org/postgresql/jdbc1/Jdbc1PreparedStatement.java jdbc/org/postgresql/jdbc1/Jdbc1Statement.java jdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java jdbc/org/postgresql/jdbc2/Jdbc2CallableStatement.java jdbc/org/postgresql/jdbc2/Jdbc2PreparedStatement.java jdbc/org/postgresql/jdbc2/Jdbc2Statement.java jdbc/org/postgresql/jdbc3/Jdbc3CallableStatement.java jdbc/org/postgresql/jdbc3/Jdbc3PreparedStatement.java jdbc/org/postgresql/jdbc3/Jdbc3Statement.java Added Files: jdbc/org/postgresql/PGRefCursorResultSet.java jdbc/org/postgresql/jdbc1/Jdbc1RefCursorResultSet.java jdbc/org/postgresql/jdbc2/Jdbc2RefCursorResultSet.java jdbc/org/postgresql/jdbc3/Jdbc3RefCursorResultSet.java jdbc/org/postgresql/test/jdbc2/RefCursorTest.java
* Fixed double definition of ecpg_compat_mode.Michael Meskes2003-05-02
|
* Added an option to force ecpg to also parse files includes via '#include' ↵Michael Meskes2003-05-01
| | | | and some more Informix stuff.
* Missed some corner cases (PGSERVICE mostly)...Tom Lane2003-04-28
|
* Okay, I've had it with PQsetdbLogin having slightly different defaultsTom Lane2003-04-28
| | | | | than PQconnectdb. Reimplement the former to use the same code as the latter. Fix documentation omissions while at it.
* Add transaction status field to ReadyForQuery messages, and make roomTom Lane2003-04-26
| | | | | | for tableID/columnID in RowDescription. (The latter isn't really implemented yet though --- the backend always sends zeroes, and libpq just throws away the data.)
* In the continuing saga of FE/BE protocol revisions, add reporting ofTom Lane2003-04-25
| | | | | | | | | | | | | initial values and runtime changes in selected parameters. This gets rid of the need for an initial 'select pg_client_encoding()' query in libpq, bringing us back to one message transmitted in each direction for a standard connection startup. To allow server version to be sent using the same GUC mechanism that handles other parameters, invent the concept of a never-settable GUC parameter: you can 'show server_version' but it's not settable by any GUC input source. Create 'lc_collate' and 'lc_ctype' never-settable parameters so that people can find out these settings without need for pg_controldata. (These side ideas were all discussed some time ago in pgsql-hackers, but not yet implemented.)
* Add new versions DLL lists, from Karl WaclawekBruce Momjian2003-04-25
|
* Fix typo in DLL list.Bruce Momjian2003-04-25
|
* Use closesocket() for all socket/pipe closing, because Win32 requiresBruce Momjian2003-04-25
| | | | it, and map that to close() on Unix.
* Infrastructure for upgraded error reporting mechanism. elog.c isTom Lane2003-04-24
| | | | | | | rewritten and the protocol is changed, but most elog calls are still elog calls. Also, we need to contemplate mechanisms for controlling all this functionality --- eg, how much stuff should appear in the postmaster log? And what API should libpq expose for it?
* Add PQunescapeBytea() and PQfeeMem() to the Win32 DLL list.Bruce Momjian2003-04-24
| | | | Karl Waclawek
* Remove Win32 special rename/unlink from libpq.Bruce Momjian2003-04-22
|
* Add dirmod to libpq Makefile.Bruce Momjian2003-04-22
|
* Another round of protocol changes. Backend-to-frontend messages now allTom Lane2003-04-22
| | | | | | | | | | have length words. COPY OUT reimplemented per new protocol: it doesn't need \. anymore, thank goodness. COPY BINARY to/from frontend works, at least as far as the backend is concerned --- libpq's PQgetline API is not up to snuff, and will have to be replaced with something that is null-safe. libpq uses message length words for performance improvement (no cycles wasted rescanning long messages), but not yet for error recovery.
* Second round of FE/BE protocol changes. Frontend->backend messages nowTom Lane2003-04-19
| | | | have length counts, and COPY IN data is packetized into messages.
* Make Win32 tests to match existing Cygwin tests, where appropriate.Bruce Momjian2003-04-18
|
* First phase of FE/BE protocol modifications: new StartupPacket layoutTom Lane2003-04-17
| | | | | | with variable-width fields. No more truncation of long user names. Also, libpq can now send its environment-variable-driven SET commands as part of the startup packet, saving round trips to server.