Skip to content

Commit d441639

Browse files
committed
Update XML error message text for missing libxml; update regression
output to match.
1 parent ab94cc9 commit d441639

File tree

2 files changed

+211
-71
lines changed

2 files changed

+211
-71
lines changed

src/backend/utils/adt/xml.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.40 2007/04/05 01:46:27 momjian Exp $
10+
* $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.41 2007/04/05 13:53:23 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -112,7 +112,9 @@ XmlOptionType xmloption;
112112
#define NO_XML_SUPPORT() \
113113
ereport(ERROR, \
114114
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), \
115-
errmsg("feature not supported; no libxml support in this installation")))
115+
errmsg("unsupported XML feature"), \
116+
errdetail("This functionality requires libxml support."), \
117+
errhint("You need to re-compile PostgreSQL using --with-libxml.")))
116118

117119

118120
#define _textin(str) DirectFunctionCall1(textin, CStringGetDatum(str))

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy