Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd441639

Browse files
committed
Update XML error message text for missing libxml; update regression
output to match.
1 parentab94cc9 commitd441639

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/0501:46:27 momjian Exp $
10+
* $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.41 2007/04/0513:53:23 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -112,7 +112,9 @@ XmlOptionType xmloption;
112112
#defineNO_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)

[8]ページ先頭

©2009-2025 Movatter.jp