[PL/pgSQL] %TYPE and array declaration
[PL/pgSQL] %TYPE and array declaration
От:
Wojciech Muła <wojciech_mula@poczta.onet.pl>
Дата:
Hi all, does anybody work on this TODO item? http://wiki.postgresql.org/wiki/Todo#PL.2FpgSQL I didn't find any related posting/bug report. w.
Re: [PL/pgSQL] %TYPE and array declaration - patch
On Sun, 7 Aug 2011 14:57:36 +0200 Wojciech Muła
wrote:
> Hi all, does anybody work on this TODO item?
> http://wiki.postgresql.org/wiki/Todo#PL.2FpgSQL
>
> I didn't find any related posting/bug report.
Hi, I've prepared simple patch, please review.
Since exact array defintion isn't needed anywhere, code
detects only if %TYPE is followed by tokens matching
regexp ('[' ICONST ']')+. This information is used during
type construction.
w.