Re: Jagged/ragged arrays

From: Florian Weimer <fweimer(at)bfk(dot)de>
To: Craig Ringer <craig(at)postnewspapers(dot)com(dot)au>
Cc: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Jagged/ragged arrays
Date: 2010-09-21 07:19:04
Message-ID: 82mxrbh8d3.fsf@mid.bfk.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

* Craig Ringer:

> On 21/09/2010 3:42 AM, Dmitriy Igrishin wrote:
>> Hey Florian,
>>
>> What do you mean by "ragged" arrays?
>
> At a guess:
>
> craig=> SELECT '{ {1}, {1,2}, {1}, {1,2,3} }'::integer[][];
> ERROR: multidimensional arrays must have array expressions with
> matching dimensions
>
> (OP) Correct?

Yes, this is what I'm after.

--
Florian Weimer <fweimer(at)bfk(dot)de>
BFK edv-consulting GmbH http://www.bfk.de/
Kriegsstraße 100 tel: +49-721-96201-1
D-76133 Karlsruhe fax: +49-721-96201-99

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Dmitriy Igrishin 2010-09-21 07:19:08 Re: Jagged/ragged arrays
Previous Message Craig Ringer 2010-09-21 04:58:01 Re: Jagged/ragged arrays