Re: [GENERAL] Empty arrays with ARRAY[]

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] Empty arrays with ARRAY[]
Дата
Msg-id 18848.1196370715@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] Empty arrays with ARRAY[]  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
Martijn van Oosterhout <kleptog@svana.org> writes:
>> 1) How should we determine whether the array is multidimensional if we
>> know the type in advance?

> Well, given the array should be regular you should be able to just look
> at the first element, if it's a array  look at it's first element, etc
> to determine the dimensions. This'll be fairly quick.

How does that work with non-constant array constructor members?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgwin32_open returning EINVAL
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pgwin32_open returning EINVAL