Re: Convert Arbitrary Table to Array?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Convert Arbitrary Table to Array?
Дата
Msg-id 19155.1234203954@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Convert Arbitrary Table to Array?  (Lee Hughes <lee@hughesys.com>)
Список pgsql-general
Lee Hughes <lee@hughesys.com> writes:
> Good point on scalability -- I am planning to limit the number of rows
> fetched through LIMIT or a Cursor once I have the basics working.

Er ... why don't you just use a cursor directly on the table?

> Did you mean *select array(select * from mytable);*  ?

No, I meant what I wrote --- * won't work, you need a single composite
column coming out of the inner select.

            regards, tom lane

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

Предыдущее
От: Lee Hughes
Дата:
Сообщение: Re: Convert Arbitrary Table to Array?
Следующее
От: paulo matadr
Дата:
Сообщение: Query for describe locks