Is prepared cursored query possible?

Поиск
Список
Период
Сортировка
От Patric Bechtel
Тема Is prepared cursored query possible?
Дата
Msg-id 20030101235043.52EAA4759BD@postgresql.org
обсуждение исходный текст
Ответы Re: Is prepared cursored query possible?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hello folks,

I'm improving the capabilities of the JDBC driver of Postgres at the moment;
only one problem:
I tried to "declare curs_4711 cursor for execute prep_0815;" and get an error
message for the execute inside the statement.
As I refer to the docs, they say only select is possible, which seems illogical
to me. Is that intended or just a parser inability/grammar inability?
Or is there a workaround for that? (maybe a select from ... thingy?)

tia

Patric




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

Предыдущее
От: Jochem van Dieten
Дата:
Сообщение: Re: creating languages in the pg_catalog schema?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: creating languages in the pg_catalog schema?