Possible bug in vacuum redo

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Possible bug in vacuum redo
Дата
Msg-id 19627.1008721326@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Possible bug in vacuum redo  ("Hiroshi Inoue" <Inoue@tpf.co.jp>)
Список pgsql-hackers
In the vacuum tuple-chain moving logic, shouldn't the lines that update
the new tuple's t_ctid (vacuum.c lines 1882-1891 in current sources)
be moved up to before the log_heap_move call at line 1866?

It appears to me that as the code stands, log_heap_move will log the new
tuple containing the wrong t_ctid; therefore, if we crash and have to
redo the transaction from WAL, the wrong t_ctid will be restored.  No?
        regards, tom lane


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

Предыдущее
От: Thomas Swan
Дата:
Сообщение: Re: Thoughts on the location of configuration files
Следующее
От: "Andrew G. Hammond"
Дата:
Сообщение: Re: Explicit config patch 7.2B4