Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group