Re: Array types

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: Array types
Дата
Msg-id b42b73150904080846n257f7c21rd77f63f7f43c4063@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Array types  (Greg Stark <stark@enterprisedb.com>)
Список pgsql-hackers
On Wed, Apr 8, 2009 at 11:35 AM, Greg Stark <stark@enterprisedb.com> wrote:
> On Wed, Apr 8, 2009 at 4:11 PM, John Lister
> <john.lister-ps@kickstone.com> wrote:
>> Cheers for the pointers. Am i right in thinking that if i get an array of
>> arrays, the nested arrays are sent in wire format as well - it seems to be
>> from the docs.
>
> No, you can't easily get an array of arrays in Postgres. You can get
> multi-dimensional arrays but that's one big array with multiple
> dimensions.  The text output form does look like an array of arrays
> but they don't behave like you might think they would:

one note about that: you can have array of composites with arrays in
them, so you can get arbitrary levels of nesting.

merlin


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: psql \d commands and information_schema
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Closing some 8.4 open items