Re: Adding 'crosstab' variants returning refcursor?

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Adding 'crosstab' variants returning refcursor?
Дата
Msg-id CAFj8pRAyK5njjZCpsUWfJDfsypi+Sm_BFhnLiumJwaTYzR5qAQ@mail.gmail.com
обсуждение исходный текст
Ответ на Adding 'crosstab' variants returning refcursor?  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
Hi


2014-09-01 13:08 GMT+02:00 Craig Ringer <craig@2ndquadrant.com>:
Hi all

Before I have a go at hacking it together I wanted to check: Has anyone
explored modifying crosstab to return a refcursor, so you can FETCH the
results w/o having to specify an explicit result type/descriptor?

+1
 

Consuming the input in another query is more of a pain, but it'd be
infinitely nicer when you just want the results in a client.

Regards

Pavel
 

--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: PL/pgSQL 2
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Decoding of (nearly) empty transactions and regression tests