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 via email to