Amul, On Thu, Feb 13, 2014 at 5:59 PM, amul sul <sul_a...@yahoo.co.in> wrote:
> I have basic questions, > > 1. Condition testing of GUC_check_errdetail_string or other GUC_* is > needed, even if we resting it? A few lines before this conditional test, there is a call to the hook function (using the check_hook function pointer) as follows which might set these variables: if (!(*conf->check_hook) (newval, extra, source)) > 2. Can I pass hint message in above ereport(), how? > It could be done by setting the check hook related global variable "GUC_check_errhint_string" inside your hook function. -- Amit -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers