postgresql/src/backend
Tom Lane 57f1630cf0 Bring some order and sanity to error handling in the xml patch.
Use a TRY block instead of (inadequate) ad-hoc coding to ensure that
libxml is cleaned up after a failure.  Report the intended SQLCODE
instead of defaulting to XX000.  Avoid risking use of a dangling
pointer by keeping the persistent error buffer in TopMemoryContext.
Be less trusting that error messages don't contain %.

This patch doesn't do anything about changing the way the messages
are put together --- this is just about mechanism.
2006-12-24 18:25:58 +00:00
..
access Restructure operator classes to allow improved handling of cross-data-type 2006-12-23 00:43:13 +00:00
bootstrap On systems that have setsid(2) (which should be just about everything except 2006-11-21 20:59:53 +00:00
catalog Restructure operator classes to allow improved handling of cross-data-type 2006-12-23 00:43:13 +00:00
commands Restructure operator classes to allow improved handling of cross-data-type 2006-12-23 00:43:13 +00:00
executor Code review for XML patch. Instill a bit of sanity in the location of 2006-12-24 00:29:20 +00:00
lib Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
libpq Minor fix for LDAP authentication: if an error occurs, we need to 2006-11-06 01:27:52 +00:00
main pgindent run for 8.2. 2006-10-04 00:30:14 +00:00
nodes Code review for XML patch. Instill a bit of sanity in the location of 2006-12-24 00:29:20 +00:00
optimizer Code review for XML patch. Instill a bit of sanity in the location of 2006-12-24 00:29:20 +00:00
parser Code review for XML patch. Instill a bit of sanity in the location of 2006-12-24 00:29:20 +00:00
po Translation updates 2006-12-02 01:16:16 +00:00
port Patch of Win32 Encoding problem for server messages using 2006-12-04 22:23:40 +00:00
postmaster Add a txn_start column to pg_stat_activity. This makes it easier to 2006-12-06 18:06:48 +00:00
regex Re-run pgindent, fixing a problem where comment lines after a blank 2005-11-22 18:17:34 +00:00
rewrite Message style improvements 2006-10-06 17:14:01 +00:00
storage KB -> kB 2006-11-24 09:20:12 +00:00
tcop Activate WIN32_STACK_RLIMIT override only on platforms where this is 2006-12-14 20:51:14 +00:00
utils Bring some order and sanity to error handling in the xml patch. 2006-12-24 18:25:58 +00:00
Makefile On Windows, we know the backend stack size limit because we have to 2006-10-08 17:15:34 +00:00
nls.mk Add _ to gettext triggers. Must have been forgotten here when it was introduced. 2005-10-04 11:14:03 +00:00