Re: Sketch of a fix for that truncation data corruption issue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Sketch of a fix for that truncation data corruption issue
Дата
Msg-id 1199755.1680525641@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Sketch of a fix for that truncation data corruption issue  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Has this problem been fixed?  I was under the impression that it had
> been, but I spent some 20 minutes now looking for code, commits, or
> patches in the archives, and I can't find anything relevant.  Maybe it
> was fixed in some different way that's not so obviously connected?

As far as I can see from a quick look at the code, nothing has been
done that would alleviate this problem: smgrtruncate still calls
DropRelationBuffers before truncating.

Have you run into a new case of it?  I don't recall having seen
many field complaints about this since 2018.

            regards, tom lane



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

Предыдущее
От: Aleksander Alekseev
Дата:
Сообщение: Re: [PATCH] Clarify the behavior of the system when approaching XID wraparound
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: GUC for temporarily disabling event triggers