Re: generic way to retrieve array as rowset

Поиск
Список
Период
Сортировка
От Greg Stark
Тема Re: generic way to retrieve array as rowset
Дата
Msg-id 87ek3o6gsv.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Re: generic way to retrieve array as rowset  (SunWuKung <Balazs.Klein@axelero.hu>)
Ответы Re: generic way to retrieve array as rowset  ("A. Kretschmer" <andreas.kretschmer@schollglas.com>)
Список pgsql-general
SunWuKung <Balazs.Klein@axelero.hu> writes:

> Thank you both, I will make good use of this.
>
> On a side note: isn't it a pity this has to be so difficult?

It doesn't have to be.

Look in the contrib directory, build the intagg module (or if you use debian
install the postgresql-contrib package) and then:

  SELECT id, int_array_enum(val) FROM t7

--
greg

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

Предыдущее
От: Michael Glaesemann
Дата:
Сообщение: Re: When it is better to use "timestamp without time zone"?
Следующее
От: Joe Conway
Дата:
Сообщение: Re: [Pgsqlrpms-hackers] Re: DBlink documentation