Re: Is there a type like a growable array, similar Vector at

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Is there a type like a growable array, similar Vector at
Дата
Msg-id 42E2120A.6080003@archonet.com
обсуждение исходный текст
Ответ на Is there a type like a growable array, similar Vector at Java language in postgreSQL?  ("Dongsoo Yoon" <dsyoon@metasoftworks.com>)
Список pgsql-sql
Dongsoo Yoon wrote:
> In Oracle, there is a type like a growable array, similar Vector at
> Java language.


I always find the manuals good for this information. Looking in the
section on "Arrays", in "Data Types"

BEGIN QUOTE
A stored array value can be enlarged by assigning to an element adjacent
to those already present, or by assigning to a slice that is adjacent to
or overlaps the data already present. For example, if array myarray
currently has 4 elements, it will have five elements after an update
that assigns to myarray[5]. Currently, enlargement in this fashion is
only allowed for one-dimensional arrays, not multidimensional arrays.
END QUOTE

Is that helpful?
--  Richard Huxton Archonet Ltd


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

Предыдущее
От: "Dongsoo Yoon"
Дата:
Сообщение: Is there a type like a growable array, similar Vector at Java language in postgreSQL?
Следующее
От: "Jim Buttafuoco"
Дата:
Сообщение: Re: Multi-column returns from pgsql