| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
| Cc: | Joe Conway <mail(at)joeconway(dot)com>, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Possible mistake in new array syntax |
| Date: | 2003-06-28 00:18:35 |
| Message-ID: | 14345.1056759515@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> The documentation says the following is allowed:
> INSERT INTO sal_emp
> VALUES ('Bill',
> ARRAY[10000, 10000, 10000, 10000],
> ARRAY[['meeting', 'lunch'], ['','']]);
> I cannot find justification for this in the standard. According to my
> reading, it should be
> INSERT INTO sal_emp
> VALUES ('Bill',
> ARRAY[10000, 10000, 10000, 10000],
> ARRAY[ARRAY['meeting', 'lunch'], ARRAY['','']]);
If it's an extension, it seems like a pretty reasonable one ...
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2003-06-28 00:21:12 | Re: Manual fixing of plpgsql_call_handler binary location -- good idea? |
| Previous Message | elein | 2003-06-27 23:40:53 | Re: PlPython |