server side cursors update & delete,

Поиск
Список
Период
Сортировка
От Vardhan
Тема server side cursors update & delete,
Дата
Msg-id CADqj2oWp2nNGm=jnBFje5BR1ek7ViUqLwd+KyQiTLn_-qQNL4Q@mail.gmail.com
обсуждение исходный текст
Ответы Re: server side cursors update & delete,
Список psycopg
Hi,

The section   '39.7.3.3. UPDATE/DELETE WHERE CURRENT OF' of
http://www.postgresql.org/docs/9.2/static/plpgsql-cursors.html
specifies the syntax as:

  UPDATE table SET ... WHERE CURRENT OF cursor;
  DELETE FROM table WHERE CURRENT OF cursor;

Is there a way to generate these syntax for update & delete ?

Right now, if i get the error that .execute() can't be called more than once !

--
TIA
Vardhan


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

Предыдущее
От: "Karl O. Pinc"
Дата:
Сообщение: Re: A PGsendQuery API design for your review
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: server side cursors update & delete,