pgsql: Simplify handling of XML error messages: Just use the string - Mailing list pgsql-committers

From petere@postgresql.org (Peter Eisentraut)
Subject pgsql: Simplify handling of XML error messages: Just use the string
Date
Msg-id 20070123233916.AF8E89FB5C8@postgresql.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Update xindex.sgml to discuss operator families.
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Relax an Assert() that has been found to be too strict in some