Re: [PL/pgSQL] %TYPE and array declaration - patch

Lists: pgsql-hackers
From: Wojciech Muła <wojciech_mula(at)poczta(dot)onet(dot)pl>
To: pgsql-hackers(at)postgresql(dot)org
Subject: [PL/pgSQL] %TYPE and array declaration
Date: 2011-08-07 12:57:36
Message-ID: 20110807145736.73b17f40@cat.tac
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

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.


From: Wojciech Muła <wojciech_mula(at)poczta(dot)onet(dot)pl>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PL/pgSQL] %TYPE and array declaration - patch
Date: 2011-08-20 19:12:21
Message-ID: 20110820211221.5b69f3a8@cat.tac
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Sun, 7 Aug 2011 14:57:36 +0200 Wojciech Muła
<wojciech_mula(at)poczta(dot)onet(dot)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 Content-Type Size
plpgsql_type_array.patch text/x-patch 6.8 KB
test.sql text/x-sql 1.5 KB

From: Lou Picciano <loupicciano(at)comcast(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: CONGRATULATIONS, David!
Date: 2011-08-21 00:40:02
Message-ID: 1259093207.178206.1313887202076.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Congratulations, David Fetter - on his new arrival! It's a big day!