Re: identifying unrecognized node type errors - Mailing list pgsql-hackers

From Tom Lane
Subject Re: identifying unrecognized node type errors
Date
Msg-id 3105903.1648152639@sss.pgh.pa.us
Whole thread Raw
In response to identifying unrecognized node type errors  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: identifying unrecognized node type errors
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> As I was tracking down some of these errors in the sql/json patches I
> noticed that we have a whole lot of them in the code, so working out
> which one has triggered an error is not as easy as it might be. ISTM we
> could usefully prefix each such message with the name of the function in
> which it occurs, along the lines of this fragment for nodeFuncs.c. Thoughts?

-1.  You're reinventing the error location support that already exists
inside elog.  Just turn up log_error_verbosity instead.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Pavel Borisov
Date:
Subject: Re: XID formatting and SLRU refactorings (was: Add 64-bit XIDs into PostgreSQL 15)
Next
From: Nathan Bossart
Date:
Subject: Re: make MaxBackends available in _PG_init