Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 79cff6b

Browse files
committed
Improve error message
1 parent 56f9ff7 commit 79cff6b

File tree

1 file changed

+3
-3
lines changed
  • src/backend/utils/adt

1 file changed

+3
-3
lines changed

src/backend/utils/adt/xml.c

+3-3
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.51 2007/11/06 03:06:28 tgl Exp $
10+
* $PostgreSQL: pgsql/src/backend/utils/adt/xml.c,v 1.52 2007/11/08 13:12:56 petere Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -123,8 +123,8 @@ static void SPI_sql_row_to_xmlelement(int rownum, StringInfo result,
123123
ereport(ERROR, \
124124
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED), \
125125
errmsg("unsupported XML feature"), \
126-
errdetail("This functionality requires libxml support."), \
127-
errhint("You need to re-compile PostgreSQL using --with-libxml.")))
126+
errdetail("This functionality requires libxml."), \
127+
errhint("You need to rebuild PostgreSQL using --with-libxml.")))
128128

129129

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

0 commit comments

Comments
 (0)