Re: [BUGS] BUG #14463: refcursor cann't used with array or variadic parameter? - Mailing list pgsql-bugs

From Tom Lane
Subject Re: [BUGS] BUG #14463: refcursor cann't used with array or variadic parameter?
Date
Msg-id 2858.1481647531@sss.pgh.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #14463: refcursor cann't used with array or variadic parameter?  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: [BUGS] BUG #14463: refcursor cann't used with array or variadic parameter?
Re: [BUGS] BUG #14463: refcursor cann't used with array or variadic parameter?
List pgsql-bugs
Pavel Stehule <pavel.stehule@gmail.com> writes:
> It is not a bug - it is feature. PLpgSQL statements doesn't expect a
> expression on some places.

Well, it's not unreasonable to expect that a subscripted datum could
be used.  It looks to me like this is a grammar omission and the
executor code would work fine.

            regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

pgsql-bugs by date:

Previous
From: syspegasus@gmail.com
Date:
Subject: [BUGS] BUG #14464: Problems about FUNCTIONS
Next
From: Pavel Stehule
Date:
Subject: Re: [BUGS] BUG #14463: refcursor cann't used with array or variadic parameter?