public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Martin Goodson <[email protected]>
Cc: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: (PostgreSQL 17) View usage resulting in 'ERROR: unrecognized node type: 2'
Date: Thu, 12 Mar 2026 22:22:49 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

Martin Goodson <[email protected]> writes:
> I've exported some views from a PG14 database and loaded them into a 
> brand new PG17 database via a plain text format pg_dump.
> No errors were reported during the dump, so no problems creating the 
> views reported.
> However, attempting to query the views - which are pretty complex, to be 
> fair - result in the query erroring immediately with 'ERROR: 
> unrecognized node type: 2'

That is certainly a bug, but there's zero hope of anyone fixing it
without a reproducible test case to poke at.

Looking at our commit log, there was a fix in 17.3 for a problem that
resulted in "unrecognized node type" errors [1], so it'd behoove you to
make sure you are running 17.recent before spending any more effort.

			regards, tom lane

[1] https://www.postgresql.org/message-id/flat/18778-24cd399df6c806af%40postgresql.org






reply

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: (PostgreSQL 17) View usage resulting in 'ERROR: unrecognized node type: 2'
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox