Improve error message
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 8 Nov 2007 13:12:56 +0000 (13:12 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 8 Nov 2007 13:12:56 +0000 (13:12 +0000)
src/backend/utils/adt/xml.c

index 38b5fd12f605d2d90430816cc6e5cb8b4d1cd098..b2e46f3dfcb4987c7ed9796e3df327b7cbf4651f 100644 (file)
@@ -123,8 +123,8 @@ static void SPI_sql_row_to_xmlelement(int rownum, StringInfo result,
        ereport(ERROR, \
                        (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), \
                         errmsg("unsupported XML feature"), \
-                        errdetail("This functionality requires libxml support."), \
-                        errhint("You need to re-compile PostgreSQL using --with-libxml.")))
+                        errdetail("This functionality requires libxml."), \
+                        errhint("You need to rebuild PostgreSQL using --with-libxml.")))
 
 
 #define _textin(str) DirectFunctionCall1(textin, CStringGetDatum(str))