Re: space taken by NULL values in array

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: space taken by NULL values in array
Дата
Msg-id 4C971D5E.50608@hogranch.com
обсуждение исходный текст
Ответ на Re: space taken by NULL values in array  (Leonardo Francalanci <m_lists@yahoo.it>)
Список pgsql-general
  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.



В списке pgsql-general по дате отправления:

Предыдущее
От: Leonardo Francalanci
Дата:
Сообщение: Re: space taken by NULL values in array
Следующее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: how to insert multiple rows and get the ids back in a temp table (pgplsql)?