Convert Arbitrary Table to Array?

Поиск
Список
Период
Сортировка
От Lee Hughes
Тема Convert Arbitrary Table to Array?
Дата
Msg-id 2d739b560902090852h71e293a9qa9aff6e84e1448d9@mail.gmail.com
обсуждение исходный текст
Ответы Re: Convert Arbitrary Table to Array?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi, I need a function that accepts a table name and returns a 2-dimensional array of the table data.

I found some related posts on this and other forums and tried several approaches with plpgsql but have had no success.

I know I can pull the table data out to the application tier and transform it from there but I would really prefer to keep it in the database.

Any help is greatly appreciated.

Thanks-

Lee

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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Out of memory on SELECT in 8.3.5
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Pet Peeves?