Re: Question about OID and TCID

Поиск
Список
Период
Сортировка
От Raymond O'Donnell
Тема Re: Question about OID and TCID
Дата
Msg-id 4CF3DCA6.6060506@iol.ie
обсуждение исходный текст
Ответ на Re: Question about OID and TCID  (Zhipan Wang <wzhipan@soe.ucsc.edu>)
Список pgsql-general
On 29/11/2010 16:56, Zhipan Wang wrote:
> Since in-place seems not possible, I am trying to use arrays to store
> different ranges of that column, and it's fast to fetch a big array,
> so I believe an array is stored continuously on disk.
>
> I can convert an array to a column easily by unnest() function, but I
> didn't find any function that converts a column to an array. Is there
> a efficient method to do that?

I think array_agg() is what you want.

   http://www.postgresql.org/docs/9.0/static/functions-aggregate.html

Ray.


--
Raymond O'Donnell :: Galway :: Ireland
rod@iol.ie

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

Предыдущее
От: Zhipan Wang
Дата:
Сообщение: Re: Question about OID and TCID
Следующее
От: hubert depesz lubaczewski
Дата:
Сообщение: PostgreSQL hanging on new connections?