Re: Brio returning data through stored procedures.

Поиск
Список
Период
Сортировка
От Doug Thom
Тема Re: Brio returning data through stored procedures.
Дата
Msg-id A9D51A18173BD043BC843DAFB9CA48EC9A7A12@VMAIL.iagr.net
обсуждение исходный текст
Ответ на Brio returning data through stored procedures.  ("Doug Thom" <dthom@iagr.net>)
Список pgsql-odbc
Ah, sorry, right. I did that. Real code was correct, pseudo code was
bad. :)

-----Original Message-----
From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
Sent: Friday, April 06, 2007 1:27 PM
To: Doug Thom
Cc: pgsql-odbc@postgresql.org
Subject: Re: [ODBC] Brio returning data through stored procedures.

"Doug Thom" <dthom@iagr.net> writes:
> So I would be doing something like:

> --Do the thing that builds the query.
> Select query
>   Into query-string
>   From table-that-has-query;

> Open cursor for query-string;

> Return cursor;
> --End pseudo code

I think you're looking for OPEN cursor FOR EXECUTE in plpgsql.
See the "cursor operations" part of the plpgsql manual.

            regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Brio returning data through stored procedures.
Следующее
От: "Adnan DURSUN"
Дата:
Сообщение: NOTIFY / LISTEN