Missing array support

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Missing array support
Дата
Msg-id Pine.LNX.4.44.0306271735570.5890-100000@peter.localdomain
обсуждение исходный текст
Ответы Re: Missing array support  (Joe Conway <mail@joeconway.com>)
Re: Missing array support  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Some nice advances to SQL standard array support were made, but there are
a few things that don't work yet in the sense of feature S091 "Basic array
support".  Joe, do you want to take on some of these?  They should be
pretty easy (for you).

* Declaration of multidimensional arrays (see clause 6.1):

create table test2 (a int, b text array[5] array[6]);
ERROR:  syntax error at or near "array" at character 44

* Empty arrays (see clause 6.4):

insert into test values (1, array[]);
ERROR:  syntax error at or near "]" at character 35

* Cardinality function (returns array dimensions, see clause 6.17).

* Using an array as a table source using UNNEST, something like:

select * from unnest(test.b);

(Check the exact spec to be sure; clause 7.6.)

* Some information schema work (doing that now...)

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: 7.2 to 7.4 upgrade issues
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Possible mistake in new array syntax