From: Sebastian Harl Date: Tue, 30 Oct 2012 08:57:59 +0000 (+0100) Subject: CData: Use errdetail() rather than errhint() to report details ;-) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=92e8ddbbc721025619a0b15a963af7efab5acfde;p=postrr.git CData: Use errdetail() rather than errhint() to report details ;-) --- diff --git a/src/cdata.c b/src/cdata.c index 021ba1a..2630e73 100644 --- a/src/cdata.c +++ b/src/cdata.c @@ -166,7 +166,7 @@ cdata_in(PG_FUNCTION_ARGS) ereport(ERROR, ( errcode(ERRCODE_INVALID_TEXT_REPRESENTATION), errmsg("invalid input syntax for cdata: \"%s\"", orig), - errhint("garbage found after number: \"%s\"", endptr) + errdetail("garbage found after number: \"%s\"", endptr) )); if (typmod > 0)