Re: [PL/pgSQL] %TYPE and array declaration - patch - Mailing list pgsql-hackers

From Wojciech Muła
Subject Re: [PL/pgSQL] %TYPE and array declaration - patch
Date
Msg-id 20110820211221.5b69f3a8@cat.tac
Whole thread Raw
In response to [PL/pgSQL] %TYPE and array declaration  (Wojciech Muła <wojciech_mula@poczta.onet.pl>)
Responses Re: CONGRATULATIONS, David!
List pgsql-hackers
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

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: two index bitmap scan of a big table & hash_seq_search
Next
From: Lou Picciano
Date:
Subject: Re: CONGRATULATIONS, David!