pgsql: Simplify handling of XML error messages: Just use the string

From: petere(at)postgresql(dot)org (Peter Eisentraut)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Simplify handling of XML error messages: Just use the string
Date: 2007-01-23 23:39:16
Message-ID: 20070123233916.AF8E89FB5C8@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Simplify handling of XML error messages: Just use the string provided by
libxml as the detail message.

As per <http://archives.postgresql.org/pgsql-hackers/2006-12/msg01087.php>.

For converting error codes to messages, we only need to cover those codes
that we raise ourselves now.

Modified Files:
--------------
pgsql/src/backend/utils/adt:
xml.c (r1.20 -> r1.21)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/xml.c.diff?r1=1.20&r2=1.21)
pgsql/src/test/regress/expected:
xml.out (r1.11 -> r1.12)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/test/regress/expected/xml.out.diff?r1=1.11&r2=1.12)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-01-24 01:25:47 pgsql: Relax an Assert() that has been found to be too strict in some
Previous Message Tom Lane 2007-01-23 20:45:29 pgsql: Update xindex.sgml to discuss operator families.