| От | Tom Lane |
|---|---|
| Тема | Re: second DML operation fails with updatable cursor |
| Дата | |
| Msg-id | 3656.1193240704@sss.pgh.pa.us обсуждение |
| Ответ на | Re: second DML operation fails with updatable cursor (Heikki Linnakangas <heikki@enterprisedb.com>) |
| Ответы |
Re: second DML operation fails with updatable cursor
|
| Список | pgsql-hackers |
Heikki Linnakangas <heikki@enterprisedb.com> writes:
> That would solve the problem with two updates of the same row, but not this:
> UPDATE .. WHERE CURRENT OF...
> FETCH RELATIVE 0
> At the moment, that returns the next row, not the one that was updated.
> Same problem with FETCH NEXT + FETCH PRIOR after the UPDATE.
Hmm, what I'm seeing is that it returns the original (unmodified) row;
is that what you meant to say?
> What does the SQL standard have to say about this?
I think it's OK, or at worst an unimplemented feature, since our cursors
are always INSENSITIVE.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера