Re: (PostgreSQL 17) View usage resulting in 'ERROR: unrecognized node type: 2'

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: (PostgreSQL 17) View usage resulting in 'ERROR: unrecognized node type: 2'
Дата
Msg-id 4799.1773368569@sss.pgh.pa.us
обсуждение исходный текст
Ответ на (PostgreSQL 17) View usage resulting in 'ERROR: unrecognized node type: 2'  (Martin Goodson <kaemaril@googlemail.com>)
Список pgsql-general
Martin Goodson <kaemaril@googlemail.com> 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



В списке pgsql-general по дате отправления: