From: Tom Lane Date: Tue, 15 Jan 2008 01:36:53 +0000 (+0000) Subject: Somebody forgot to add this ERRCODE everywhere it should go ... X-Git-Tag: REL8_3_RC2~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abab776b3c64f7dace82e8d0f3389851b8857798;p=postgresql Somebody forgot to add this ERRCODE everywhere it should go ... --- diff --git a/doc/src/sgml/errcodes.sgml b/doc/src/sgml/errcodes.sgml index 7c33f11e17..a3f56a86b1 100644 --- a/doc/src/sgml/errcodes.sgml +++ b/doc/src/sgml/errcodes.sgml @@ -1,4 +1,4 @@ - + <productname>PostgreSQL</productname> Error Codes @@ -541,6 +541,12 @@ untranslatable_character + +2200L +NOT AN XML DOCUMENT +not_an_xml_document + + 2200M INVALID XML DOCUMENT diff --git a/src/pl/plpgsql/src/plerrcodes.h b/src/pl/plpgsql/src/plerrcodes.h index ffd9e95e0b..5fbdf255d8 100644 --- a/src/pl/plpgsql/src/plerrcodes.h +++ b/src/pl/plpgsql/src/plerrcodes.h @@ -9,7 +9,7 @@ * * Copyright (c) 2003-2008, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/pl/plpgsql/src/plerrcodes.h,v 1.12 2008/01/01 19:46:00 momjian Exp $ + * $PostgreSQL: pgsql/src/pl/plpgsql/src/plerrcodes.h,v 1.13 2008/01/15 01:36:53 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -243,6 +243,10 @@ "untranslatable_character", ERRCODE_UNTRANSLATABLE_CHARACTER }, +{ + "not_an_xml_document", ERRCODE_NOT_AN_XML_DOCUMENT +}, + { "invalid_xml_document", ERRCODE_INVALID_XML_DOCUMENT },