Re: [HACKERS] ecpg stuff

Поиск
Список
Период
Сортировка
От Vadim B. Mikheev
Тема Re: [HACKERS] ecpg stuff
Дата
Msg-id 34EAA20C.47BCC7DB@sable.krasnoyarsk.su
обсуждение исходный текст
Ответ на Re: [HACKERS] ecpg stuff  (Michael Meskes <meskes@topsystem.de>)
Список pgsql-hackers
Michael Meskes wrote:
>
> - and check resp. tell me whether the cursor behaviour is correct. Currently
> the declare statement is send to the backend via PQexec. The open statement
> is ignored and the fetch is executed as fetch via PQexec. I think the data
> shouldn't be processed before the cursor is opened. But I do not know
> what PostgreSQL does with the declare command.

DECLARE: parser + optimizer + ExecutorStart (initializes plan nodes:
checks permissions, opens tables & indices).
Is OPEN statement in standard ?
If yes then we could call ExecutorStart() for the OPEN someday.

Vadim

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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: New ecgp code problem.
Следующее
От: "Meskes, Michael"
Дата:
Сообщение: RE: [HACKERS] ecpg stuff