Re: BUG #18016: REINDEX TABLE failure

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #18016: REINDEX TABLE failure
Дата
Msg-id 1457241.1688775601@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #18016: REINDEX TABLE failure  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: BUG #18016: REINDEX TABLE failure  (Gurjeet Singh <gurjeet@singh.im>)
RE: BUG #18016: REINDEX TABLE failure  (Richard Veselý <richard.vesely@softea.sk>)
Список pgsql-bugs
Michael Paquier <michael@paquier.xyz> writes:
> On Thu, Jul 06, 2023 at 08:29:19PM +0000, PG Bug reporting form wrote:
>> Given a table with a TOASTed variable length attribute, REINDEX TABLE fails
>> to rebuild indexes when you truncate (or otherwise corrupt) relation files
>> for both TOAST table index and a custom index on the varlena.

> Could you clarify what you have done here?  Did you manipulate the
> physical files in the data folder before running the REINDEX commands
> you expected should work?  There are many things that can go wrong if
> you do anything like that.

I think the point of that was just to have a way to reproduce the problem
on-demand.  I follow the argument, which is that if there's actual
corruption in the TOAST index (for whatever reason) that might interfere
with rebuilding the table's other indexes.

            regards, tom lane



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #18016: REINDEX TABLE failure
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: BUG #17994: Invalidating relcache corrupts tupDesc inside ExecEvalFieldStoreDeForm()