aboutsummaryrefslogtreecommitdiff
path: root/contrib/xml2/xslt_proc.c
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2006-03-01 06:30:32 +0000
committerNeil Conway <neilc@samurai.com>2006-03-01 06:30:32 +0000
commit8e5a10d46c38976e40504456a5978caa53b77b3c (patch)
treeb94a9b7673f6c919ebacc3546f72032b8eb05657 /contrib/xml2/xslt_proc.c
parent87fa10a42613ee1ca9cc4bb22eb163f8e179b3f8 (diff)
downloadpostgresql-8e5a10d46c38976e40504456a5978caa53b77b3c.tar.gz
postgresql-8e5a10d46c38976e40504456a5978caa53b77b3c.zip
This patch makes the error message strings throughout the backend
more compliant with the error message style guide. In particular, errdetail should begin with a capital letter and end with a period, whereas errmsg should not. I also fixed a few related issues in passing, such as fixing the repeated misspelling of "lexeme" in contrib/tsearch2 (per Tom's suggestion).
Diffstat (limited to 'contrib/xml2/xslt_proc.c')
-rw-r--r--contrib/xml2/xslt_proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/xml2/xslt_proc.c b/contrib/xml2/xslt_proc.c
index ff2ab8d0456..433030ead96 100644
--- a/contrib/xml2/xslt_proc.c
+++ b/contrib/xml2/xslt_proc.c
@@ -81,7 +81,7 @@ xslt_process(PG_FUNCTION_ARGS)
if (doctree == NULL)
{
xmlCleanupParser();
- elog_error(ERROR, "Error parsing XML document", 0);
+ elog_error(ERROR, "error parsing XML document", 0);
PG_RETURN_NULL();
}
@@ -95,7 +95,7 @@ xslt_process(PG_FUNCTION_ARGS)
{
xmlFreeDoc(doctree);
xmlCleanupParser();
- elog_error(ERROR, "Error parsing stylesheet as XML document", 0);
+ elog_error(ERROR, "error parsing stylesheet as XML document", 0);
PG_RETURN_NULL();
}
@@ -110,7 +110,7 @@ xslt_process(PG_FUNCTION_ARGS)
xmlFreeDoc(doctree);
xsltCleanupGlobals();
xmlCleanupParser();
- elog_error(ERROR, "Failed to parse stylesheet", 0);
+ elog_error(ERROR, "failed to parse stylesheet", 0);
PG_RETURN_NULL();
}