aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces
Commit message (Collapse)AuthorAge
* 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.
* Applied patches from Kris Jurka fixing a string tokenizing problem andBarry Lind2003-04-17
| | | | | | | | | | fixing an order by problem for index metadata results. Also includes removing some unused code as well as a fix to the toString method on statement. Modified Files: jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
* Fix some problems exposed by building outside the source tree.Tom Lane2003-04-16
|
* path.c needs to be included in libpq; per Joe Conway.Tom Lane2003-04-14
|
* exposed the addDataType method to the PGConnection, allows users to add ↵Dave Cramer2003-04-14
| | | | datatypes
* Applied patch submitted by Nic Ferrier with some cleanups of his previousBarry Lind2003-04-13
| | | | | | | | patch to add cursor based queries. Modified Files: jdbc/org/postgresql/core/BaseConnection.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
* Fix error recovery for SSL_read/SSL_write calls.Tom Lane2003-04-10
|
* Informix fixes.Michael Meskes2003-04-10
|
* Get rid of inappropriate flags in CPPFLAGS override --- these breakTom Lane2003-04-08
| | | | non-gcc compilers, and they would never belong in CPPFLAGS anyway.
* Added some more informix compatibility functions.Michael Meskes2003-04-08
|
* Add Win32 path handling for / vs. \ and drive letters.Bruce Momjian2003-04-04
|
* Add prototype for toupper/tolower().Bruce Momjian2003-04-03
|
* Whack getaddrinfo() patch around until it works, more or less, onTom Lane2003-04-02
| | | | machines without IPv6. Or at least it works on HPUX 10.20 ...
* More patches for informix compatibility.Michael Meskes2003-04-01
|