Re: Can a function return more then one table?

Поиск
Список
Период
Сортировка
От Sergey Konoplev
Тема Re: Can a function return more then one table?
Дата
Msg-id CAL_0b1t1yv4LihAZajL7ebDibLcfN4+mc3pTDp+7DT5=F1SmKQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Can a function return more then one table?  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-general
On Wed, Jan 11, 2012 at 10:47 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
> * return setof refcursors
> * use arrays instead tables and returns arrays (for tables less 10000 rows)

One more option is to use hstore plus populate_record().

>
> Regards
>
> Pavel Stehule
>
>> Mike
>>
>> --
>> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-general
>
> --
> Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-general



--
Sergey Konoplev

Blog: http://gray-hemp.blogspot.com
LinkedIn: http://ru.linkedin.com/in/grayhemp
JID/GTalk: gray.ru@gmail.com Skype: gray-hemp

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

Предыдущее
От: Kirill Müller
Дата:
Сообщение: Enumeration of tables is very slow in largish database
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Enumeration of tables is very slow in largish database