]> granicus.if.org Git - postgresql/commit
Simplify handling of XML error messages: Just use the string provided by
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 23 Jan 2007 23:39:16 +0000 (23:39 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 23 Jan 2007 23:39:16 +0000 (23:39 +0000)
commit4e8b5cd94bd24e8162ef4fd45d0ce621481844da
tree32c5c4f806279d62cd63dee37d48ac474b8d8826
parenta56c5fb0f591090967e1848c7749ed67ecc0218f
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.
src/backend/utils/adt/xml.c
src/test/regress/expected/xml.out