BUG #18859: ERROR: unexpected plan node type: 356

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: splarv(at)ya(dot)ru
Subject: BUG #18859: ERROR: unexpected plan node type: 356
Date: 2025-03-20 13:53:59
Message-ID: 18859-0d5f28ac99a37059@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 18859
Logged by: Olleg Samoylov
Email address: splarv(at)ya(dot)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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2025-03-20 14:46:15 Re: BUG #18857: Abnormal string comparison results
Previous Message PG Bug reporting form 2025-03-20 12:34:11 BUG #18858: client does not support server version newer than 15.12 but actual version is 15.8.1