Re: existing row not found by SELECT ... WHERE CTID = ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: existing row not found by SELECT ... WHERE CTID = ?
Дата
Msg-id 1544722.1653403631@sss.pgh.pa.us
обсуждение исходный текст
Ответ на existing row not found by SELECT ... WHERE CTID = ?  (Matthias Apitz <guru@unixarea.de>)
Ответы Re: existing row not found by SELECT ... WHERE CTID = ?  (Matthias Apitz <guru@unixarea.de>)
Список pgsql-general
Matthias Apitz <guru@unixarea.de> writes:
> We have a C-written program, written in ESQL/C, of our LMS where the logic
> crawls with FETCH through a hit list and does UPDATE on some rows which
> match certain condition. This works fine for thousands of rows every night,
> but magically sometimes it fails.

Maybe something else already updated the row since the cursor was opened?
That would change its CTID.

            regards, tom lane



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

Предыдущее
От: Matthias Apitz
Дата:
Сообщение: existing row not found by SELECT ... WHERE CTID = ?
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: Can I start Update row in After Insert trigger function?