Re: Better error reporting from extension scripts (Was: Extend ALTER OPERATOR)
From:
Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To:
jian he <jian(dot)universality(at)gmail(dot)com>
Cc:
Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Christoph Berg <myon(at)debian(dot)org>, Michael Banck <mbanck(at)gmx(dot)net>, Tommy Pavlicek <tommypav122(at)gmail(dot)com>, Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject:
Re: Better error reporting from extension scripts (Was: Extend ALTER OPERATOR)
jian he <jian(dot)universality(at)gmail(dot)com> writes: > So if we are in script_error_callback > `int location = callback_arg->stmt_location;` > location >= 0 will be always true?