postgresql/src
Peter Eisentraut 116ce2f4d0 Get rid of the global variable holding the error state
Global error handling led to confusion and was hard to manage.  With
this change, errors from PostgreSQL are immediately reported to Python
as exceptions.  This requires setting a Python exception after
reporting the caught PostgreSQL error as a warning, because PLy_elog
destroys the Python exception state.

Ideally, all places where PostgreSQL errors need to be reported back
to Python should be wrapped in subtransactions, to make going back to
Python from a longjmp safe.  This will be handled in a separate patch.

Jan Urbański
2011-01-22 22:12:32 +02:00
..
backend Avoid treating WAL senders as normal backends. 2011-01-21 22:23:01 -05:00
bin Add new psql command \dL to list languages. 2011-01-20 00:00:30 -05:00
include Code cleanup for assign_XactIsoLevel. 2011-01-21 21:49:19 -05:00
interfaces There is no need to have to identical functions in ecpg thus removing one of them. 2011-01-09 12:47:43 +01:00
makefiles Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
pl Get rid of the global variable holding the error state 2011-01-22 22:12:32 +02:00
port Add pgreadlink() on Windows to read junction points 2011-01-09 15:09:19 +01:00
template
test Make ALTER TABLE revalidate uniqueness and exclusion constraints. 2011-01-20 22:44:10 -05:00
timezone Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
tools Link libpgport into pg_test_fsync on msvc 2011-01-22 18:18:27 +01:00
tutorial Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
.gitignore
bcc32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
DEVELOPERS
Makefile Additional fixes for parallel make 2010-11-17 08:08:41 +02:00
Makefile.global.in Only build in crashdump support on Windows if there's a working dbghelp.h. 2010-12-26 10:34:47 -05:00
Makefile.shlib Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
nls-global.mk
win32.mak Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00