| 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: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| 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 | Date | Subject | |
|---|---|---|---|
| Next Message | Lou Picciano | 2011-08-21 00:40:02 | Re: CONGRATULATIONS, David! |
| Previous Message | Tom Lane | 2011-08-20 17:03:57 | Re: two index bitmap scan of a big table & hash_seq_search |