Content-Length: 282731 | pFad | http://github.com/postgrespro/postgres/commit/d44163953c2ce74d6db9d9807e030a0a3b725da5

C9 Update XML error message text for missing libxml; update regression · postgrespro/postgres@d441639 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/d44163953c2ce74d6db9d9807e030a0a3b725da5

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy