BUG #18859: ERROR: unexpected plan node type: 356 - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #18859: ERROR: unexpected plan node type: 356
Date
Msg-id 18859-0d5f28ac99a37059@postgresql.org
Whole thread Raw
Responses Re: BUG #18859: ERROR: unexpected plan node type: 356
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      18859
Logged by:          Olleg Samoylov
Email address:      splarv@ya.ru
PostgreSQL version: 17.4
Operating system:   RedOS 8
Description:

This working.
postgres=> do $$ declare p_CurData refcursor; begin OPEN p_CurData FOR
SELECT NULL::int id; end;$$;
DO
But this is not. Internal error.
postgres=> do $$ declare p_CurData refcursor; begin OPEN p_CurData SCROLL
FOR SELECT NULL::int id; end;$$;
ERROR:  unexpected plan node type: 356
CONTEXT:  PL/pgSQL function inline_code_block line 1 at OPEN


pgsql-bugs by date:

Previous
From: PG Bug reporting form
Date:
Subject: BUG #18858: client does not support server version newer than 15.12 but actual version is 15.8.1
Next
From: Tom Lane
Date:
Subject: Re: BUG #18857: Abnormal string comparison results