Re: [PATCH] Compressed TOAST data corruption with REPACK CONCURRENTLY

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [PATCH] Compressed TOAST data corruption with REPACK CONCURRENTLY
Дата
Msg-id aeKnABrX4ShBtHkg@paquier.xyz
обсуждение
Ответ на Re: [PATCH] Compressed TOAST data corruption with REPACK CONCURRENTLY  (SATYANARAYANA NARLAPURAM <satyanarlapuram@gmail.com>)
Ответы Re: [PATCH] Compressed TOAST data corruption with REPACK CONCURRENTLY
Список pgsql-hackers
On Fri, Apr 17, 2026 at 10:40:39AM -0700, SATYANARAYANA NARLAPURAM wrote:
> I started with that but tried to follow the existing code pattern. This
> LGTM.
> Please add a comment as well.

Hmm.  I was reading restore_tuple(), and could it make sense to expand
a bit more the tests so as more types of varlena pointers could be
checked in this routine?  I am taking about MAIN, EXTENDED and
EXTERNAL, so as we could check more patterns with in-line
[non-]compressed, and external [non-]compressed, counting for the four
different possible patterns that could lead to repacked data.  See for
example strings.sql for such tests, that could be used as base
inspiration.
--
Michael

Вложения

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