Amit Langote <amitlangot...@gmail.com> writes: > On Thu, Feb 13, 2014 at 5:59 PM, amul sul <sul_a...@yahoo.co.in> wrote: >> 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. You should use the macro GUC_check_errhint() to set up a hint inside a GUC variable's check function. See check_XactIsoLevel() in src/backend/commands/variable.c for examples. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers