Thread: [PL/pgSQL] %TYPE and array declaration

[PL/pgSQL] %TYPE and array declaration

From
Wojciech Muła
Date:
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

From
Wojciech Muła
Date:
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.

Attachment

Re: CONGRATULATIONS, David!

From
Lou Picciano
Date:
<div style="font-family: Verdana; font-size: 12pt; color: #000000">Congratulations, David Fetter - on his new arrival!
It'sa big day!<br /></div>