On 2019-10-28 13:45, Robert Haas wrote:
> In theory, the do_rethrow variable could conflict with a symbol
> declared in the surrounding scope, but that doesn't seem like it's a
> problem worth getting worked up about.
Right. A PG_TRY block also declares other local variables for internal
use without much care about namespacing. If it becomes a problem, it's
easy to address.
--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services