postgresql/src/backend/utils/adt
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
..
acl.c
array_userfuncs.c
arrayfuncs.c Tweak accumArrayResult() to double the size of its working arrays when 2006-11-08 19:24:38 +00:00
arrayutils.c
ascii.c
bool.c
cash.c
char.c
date.c
datetime.c
datum.c
dbsize.c Get rid of some unnecessary dependencies on DataDir: wherever possible, 2006-11-06 03:06:41 +00:00
domains.c
encode.c
float.c Remove unnecessary parentheses in if() statements. 2006-12-23 02:13:24 +00:00
format_type.c
formatting.c Add workaround for localizing May and abbreviated May differently. Idea 2006-11-28 12:53:44 +00:00
genfile.c Change pg_stat_all_tables and sister views to put the recently-added 2006-11-24 21:18:42 +00:00
geo_ops.c
geo_selfuncs.c
inet_net_ntop.c
inet_net_pton.c
int8.c
int.c
like_match.c
like.c
lockfuncs.c
mac.c
Makefile Initial SQL/XML support: xml data type and initial set of functions. 2006-12-21 16:05:16 +00:00
misc.c On systems that have setsid(2) (which should be just about everything except 2006-11-21 20:59:53 +00:00
nabstime.c
name.c
network.c
not_in.c
numeric.c
numutils.c
oid.c
oracle_compat.c
pg_locale.c Fix to_char() locale handling to honor LC_TIME, not LC_MESSAGES. 2006-11-24 15:26:18 +00:00
pg_lzcompress.c
pgstatfuncs.c Add a txn_start column to pg_stat_activity. This makes it easier to 2006-12-06 18:06:48 +00:00
pseudotypes.c
quote.c
regexp.c
regproc.c
ri_triggers.c
rowtypes.c
ruleutils.c Code review for XML patch. Instill a bit of sanity in the location of 2006-12-24 00:29:20 +00:00
selfuncs.c Restructure operator classes to allow improved handling of cross-data-type 2006-12-23 00:43:13 +00:00
tid.c
timestamp.c Suppress a few 'uninitialized variable' warnings that gcc emits only at 2006-11-11 01:14:19 +00:00
varbit.c
varchar.c
varlena.c Fix performance issues in replace_text(), replace_text_regexp(), and 2006-11-08 19:22:25 +00:00
version.c
xid.c
xml.c Bring some order and sanity to error handling in the xml patch. 2006-12-24 18:25:58 +00:00