Prepare/Declare

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Prepare/Declare
Дата
Msg-id 20070524194039.GA15416@feivel.credativ.de
обсуждение исходный текст
Ответы Re: Prepare/Declare  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Am I correct to assume that the backend does not implement cursor
declaration from prepared statements? If so, is there a reason for this?

That is something like this:

PREPARE p AS   SELECT * FROM foo;
DECLARE c CURSOR for p;

AFAIRC the standard says this group of statements are perfectly legal and ecpg
accepts it with its old logic. Moving to real prepared statement I don't
like to lose this feature. 

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


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

Предыдущее
От: "Karl O. Pinc"
Дата:
Сообщение: Re: COPY into a view; help w. design & patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Prepare/Declare