Thread
-
Re: [PL/pgSQL] %TYPE and array declaration - patch
Wojciech Muła <wojciech_mula@poczta.onet.pl> — 2011-08-20T19:12:21Z
On Sun, 7 Aug 2011 14:57:36 +0200 Wojciech Muła <wojciech_mula@poczta.onet.pl> 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.