From 92e8ddbbc721025619a0b15a963af7efab5acfde Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 30 Oct 2012 09:57:59 +0100 Subject: [PATCH] CData: Use errdetail() rather than errhint() to report details ;-) --- src/cdata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.30.2