Search Postgresql Archives

Re: space taken by NULL values in array

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 On 09/20/10 1:24 AM, Leonardo Francalanci wrote:
i thought PG multidimensional  arrays were just arrays of arrays, and any
dimension could be  anything.

from:

http://www.postgresql.org/docs/8.4/static/arrays.html

"Multidimensional arrays must have matching extents for each dimension. A
mismatch causes an error"


maybe thats poorly worded.

the example of that error shows an array with 2 columns in the first row and 1 column in the 2nd row.

  '{{"meeting", "lunch"}, {"meeting"}}'


thats not a valid array.

   '{{"meeting", "lunch"}, {"training", "presentation"}}'

is a valid array.



--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux