postgresql/src/interfaces/libpq
Tom Lane bc433317ae Fix lo_import and lo_export to return useful error messages more often.
I found that these functions tend to return -1 while leaving an empty error
message string in the PGconn, if they suffer some kind of I/O error on the
file.  The reason is that lo_close, which thinks it's executed a perfectly
fine SQL command, clears the errorMessage.  The minimum-change workaround
is to reorder operations here so that we don't fill the errorMessage until
after lo_close.
2012-10-08 21:52:34 -04:00
..
po Translation updates 2011-08-17 14:07:46 +03:00
test perltidy adjustments to new file 2012-07-10 15:15:16 -04:00
.gitignore Remove redundant lib*dll.def rules from .gitignore 2011-06-18 18:28:16 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
exports.txt Add API for 64-bit large object access. Now users can access up to 2012-10-07 08:36:48 +09:00
fe-auth.c libpq: Small code clarification, and avoid casting away const 2012-03-06 23:21:43 +02:00
fe-auth.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
fe-connect.c Centralize libpq's low-level code for dropping a connection. 2012-09-07 16:02:23 -04:00
fe-exec.c Add runtime checks for number of query parameters passed to libpq functions. 2012-08-13 16:36:35 +03:00
fe-lobj.c Fix lo_import and lo_export to return useful error messages more often. 2012-10-08 21:52:34 -04:00
fe-misc.c Centralize libpq's low-level code for dropping a connection. 2012-09-07 16:02:23 -04:00
fe-print.c Lots of doc corrections. 2012-04-23 22:43:09 -04:00
fe-protocol2.c Replace libpq's "row processor" API with a "single row" mode. 2012-08-02 13:10:30 -04:00
fe-protocol3.c Centralize libpq's low-level code for dropping a connection. 2012-09-07 16:02:23 -04:00
fe-secure.c Run pgindent on 9.2 source tree in preparation for first 9.3 2012-06-10 15:20:04 -04:00
libpq-events.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
libpq-events.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
libpq-fe.h Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
libpq-int.h Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
libpq.rc.in Stamp HEAD as 9.3devel. 2012-06-13 20:03:02 -04:00
Makefile libpq: Add missing directory to installdirs target 2012-09-17 22:33:26 -04:00
nls.mk libpq: Add missing file to GETTEXT_FILES list 2012-05-21 20:08:50 +03:00
pg_service.conf.sample Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
pqexpbuffer.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pqexpbuffer.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pqsignal.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pqsignal.h Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
pthread-win32.c Update copyright notices for year 2012. 2012-01-01 18:01:58 -05:00
README Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
win32.c Assorted message style improvements 2012-07-02 21:12:46 +03:00
win32.h Enable compiling with the mingw-w64 32 bit compiler. 2011-12-10 15:35:41 -05:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00

src/interfaces/libpq/README

This directory contains the C version of Libpq, the POSTGRES frontend library.