From: Tomas Vondra <tomas.vondra@enterprisedb.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Amine Tengilimoglu <aminetengilimoglu@gmail.com>
Cc: " <pgsql-general@postgresql.org>
Subject: Re: ERROR: unrecognized node type
Date: Wed, 29 Sep 2021 23:10:06 +0200
Message-ID: <b75d8a17-f1fd-3b5c-114b-1b98318fbd84@enterprisedb.com> (raw)
In-Reply-To: <2994270.1632940636@sss.pgh.pa.us>
References: <CADTdw-yGfNyHSLXajBFgCEod9dCh8Ys2=9j-gNh6kX5oEpkRNA@mail.gmail.com>
<2990076.1632935803@sss.pgh.pa.us>
<CADTdw-xJX90ToHcrMxxWvJWssjvbBVunq-W=EfXXu7is7+YobQ@mail.gmail.com>
<80c95c0d-3d32-8fad-0533-d26ebc2e8e5e@aklaver.com>
<2994270.1632940636@sss.pgh.pa.us>
On 9/29/21 8:37 PM, Tom Lane wrote:
> Adrian Klaver <adrian.klaver@aklaver.com> writes:
>> Unless folks are using plain text only email readers. That is why
>> screenshots are generally a bad idea for textual information. For the
>> record the Postgres version is 12.8.
>
> Hmm, if it's v12 then NodeTag 223 is T_List, which is ... a bit
> surprising. That's a common enough node type that "oversight"
> doesn't seem to fly as an explanation.
>
> I don't think we'll be able to make progress on this without a
> lot more detail. A self-contained example that triggers it
> would be very useful; or maybe you could get a backtrace from
> the point of the error?
>
> https://wiki.postgresql.org/wiki/Generating_a_stack_trace_of_a_PostgreSQL_backend
>
A handy trick for similar cases (not mentioned in the wiki) is to set
SET log_error_verbosity = verbose;
and then trigger the error. This logs the exact location (file:line)
where the error is printed, and then set a breakpoint to that place.
Makes it easier to generate the backtrace.
regards
--
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tomas.vondra@enterprisedb.com, tgl@sss.pgh.pa.us, adrian.klaver@aklaver.com, aminetengilimoglu@gmail.com
Subject: Re: ERROR: unrecognized node type
In-Reply-To: <b75d8a17-f1fd-3b5c-114b-1b98318fbd84@enterprisedb.com>
References: <CADTdw-yGfNyHSLXajBFgCEod9dCh8Ys2=9j-gNh6kX5oEpkRNA@mail.gmail.com> <2990076.1632935803@sss.pgh.pa.us> <CADTdw-xJX90ToHcrMxxWvJWssjvbBVunq-W=EfXXu7is7+YobQ@mail.gmail.com> <80c95c0d-3d32-8fad-0533-d26ebc2e8e5e@aklaver.com> <2994270.1632940636@sss.pgh.pa.us> <b75d8a17-f1fd-3b5c-114b-1b98318fbd84@enterprisedb.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox