summaryrefslogtreecommitdiff
path: root/src/interfaces
AgeCommit message (Collapse)Author
2003-05-23Forgot these.Michael Meskes
2003-05-23ecpg now accepts array elements as arguments.Michael Meskes
2003-05-22Fix compilation on Cygwin.Peter Eisentraut
2003-05-22Fixed segfault when detecting undefined cursor.Michael Meskes
2003-05-22ecpg now recognizes named structs/unions. So you don't have to list the ↵Michael Meskes
whole definition everytime you declare a variable anymore.
2003-05-20Reversed my incorrect fix.Michael Meskes
2003-05-19Fixed exec sql ifdef command.Michael Meskes
2003-05-16Made variable type double work again.Michael Meskes
2003-05-16Fixed incorrect include and another typo. Sorry, the include did not create ↵Michael Meskes
a warning/error/problem on my machine, so I didn't notice it.
2003-05-16Allow interfaces to compile under MingGW/Win32 by adding _P to symbolsBruce Momjian
in ecpg.
2003-05-16Revert kerberos code breakage.Tom Lane
2003-05-15Allow Win32 to compile under MinGW. Major changes are:Bruce Momjian
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
2003-05-14 - Added more compatibility functions.Michael Meskes
- Accept CPP defines for type definitions. - Do not parse system include files automatically for Informix mode
2003-05-13Fixed order of include file search path.Michael Meskes
2003-05-10Add Makefile rules for new crypt/rint() /port functions. Add includeBruce Momjian
for rint prototype.
2003-05-09More cleanups now that we have crypt().Bruce Momjian
2003-05-09Add crypt() to /port for Win32.Bruce Momjian
2003-05-09Add rint() to /port, remove from qnx/.Bruce Momjian
2003-05-08I think we're done with protocol instability, so mark server and libpqTom Lane
as speaking the one true 3.0 protocol.
2003-05-08Update 3.0 protocol support to match recent agreements about how toTom Lane
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.
2003-05-07Fixed bug with Warnings. Warnings are not added to the Statement instead ofBarry Lind
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
2003-05-06Add display of eventual result RowDescription (if any) to the outputTom Lane
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.
2003-05-06Added rfmtlong compatibility function.Michael Meskes
2003-05-05Extended query protocol: parse, bind, execute, describe FE/BE messages.Tom Lane
Only lightly tested as yet, since libpq doesn't know anything about 'em.
2003-05-03Patch to fix up LONGVARBINARY support submitted by Amit GollapudiBarry Lind
(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
2003-05-02Fixed double definition of ecpg_compat_mode.Michael Meskes
2003-05-01Added an option to force ecpg to also parse files includes via '#include' ↵Michael Meskes
and some more Informix stuff.
2003-04-28Missed some corner cases (PGSERVICE mostly)...Tom Lane
2003-04-28Okay, I've had it with PQsetdbLogin having slightly different defaultsTom Lane
than PQconnectdb. Reimplement the former to use the same code as the latter. Fix documentation omissions while at it.
2003-04-26Add transaction status field to ReadyForQuery messages, and make roomTom Lane
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.)
2003-04-25In the continuing saga of FE/BE protocol revisions, add reporting ofTom Lane
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.)
2003-04-25Add new versions DLL lists, from Karl WaclawekBruce Momjian
2003-04-25Fix typo in DLL list.Bruce Momjian
2003-04-25Use closesocket() for all socket/pipe closing, because Win32 requiresBruce Momjian
it, and map that to close() on Unix.
2003-04-24Infrastructure for upgraded error reporting mechanism. elog.c isTom Lane
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?
2003-04-24Add PQunescapeBytea() and PQfeeMem() to the Win32 DLL list.Bruce Momjian
Karl Waclawek
2003-04-22Remove Win32 special rename/unlink from libpq.Bruce Momjian
2003-04-22Add dirmod to libpq Makefile.Bruce Momjian
2003-04-22Another round of protocol changes. Backend-to-frontend messages now allTom Lane
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.
2003-04-19Second round of FE/BE protocol changes. Frontend->backend messages nowTom Lane
have length counts, and COPY IN data is packetized into messages.
2003-04-18Make Win32 tests to match existing Cygwin tests, where appropriate.Bruce Momjian
2003-04-17First phase of FE/BE protocol modifications: new StartupPacket layoutTom Lane
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.
2003-04-17Applied patches from Kris Jurka fixing a string tokenizing problem andBarry Lind
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
2003-04-16Fix some problems exposed by building outside the source tree.Tom Lane
2003-04-14path.c needs to be included in libpq; per Joe Conway.Tom Lane
2003-04-14exposed the addDataType method to the PGConnection, allows users to add ↵Dave Cramer
datatypes
2003-04-13Applied patch submitted by Nic Ferrier with some cleanups of his previousBarry Lind
patch to add cursor based queries. Modified Files: jdbc/org/postgresql/core/BaseConnection.java jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java
2003-04-10Fix error recovery for SSL_read/SSL_write calls.Tom Lane
2003-04-10Informix fixes.Michael Meskes
2003-04-08Get rid of inappropriate flags in CPPFLAGS override --- these breakTom Lane
non-gcc compilers, and they would never belong in CPPFLAGS anyway.