Re: BUG #14463: refcursor cann't used with array or variadic parameter?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: 德哥 <digoal(at)126(dot)com>, "pgsql-bugs(at)postgresql(dot)org" <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14463: refcursor cann't used with array or variadic parameter?
Date: 2016-12-13 16:45:31
Message-ID: 2858.1481647531@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Pavel Stehule 2016-12-13 16:49:18 Re: BUG #14463: refcursor cann't used with array or variadic parameter?
Previous Message syspegasus 2016-12-13 16:42:35 BUG #14464: Problems about FUNCTIONS