Re: Add isCatalogRel in rmgrdesc
От
Michael Paquier
Тема
Re: Add isCatalogRel in rmgrdesc
Дата
Msg-id
ZXgklSDHCr6l5coG@paquier.xyz
Ответ на
Add isCatalogRel in rmgrdesc (Drouvot, Bertrand)
Список
Дерево обсуждения
Add isCatalogRel in rmgrdesc "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
Re: Add isCatalogRel in rmgrdesc Michael Paquier <michael@paquier.xyz>
Re: Add isCatalogRel in rmgrdesc "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
Re: Add isCatalogRel in rmgrdesc Masahiko Sawada <sawada.mshk@gmail.com>
Re: Add isCatalogRel in rmgrdesc "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>
Re: Add isCatalogRel in rmgrdesc Masahiko Sawada <sawada.mshk@gmail.com>
Re: Add isCatalogRel in rmgrdesc Michael Paquier <michael@paquier.xyz>
Re: Add isCatalogRel in rmgrdesc Masahiko Sawada <sawada.mshk@gmail.com>
Re: Add isCatalogRel in rmgrdesc Masahiko Sawada <sawada.mshk@gmail.com>
Re: Add isCatalogRel in rmgrdesc Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
On Tue, Dec 12, 2023 at 09:23:46AM +0100, Drouvot, Bertrand wrote: > Please find attached a patch to add this field in the related rmgrdesc (i.e > all the ones that already provide the snapshotConflictHorizon except the one > related to xl_heap_visible: indeed a new bit was added in its flag field in 6af1793954 > instead of adding the isCatalogRel bool). > > I think it's worth it, as this new field could help diagnose conflicts issues (if any). Agreed that this is helpful. One would likely guess if you are dealing with a catalog relation depending on its relfilenode, but that does not take into account user_catalog_table that can be set as a reloption, impacting the value of isCatalogRel stored in the records. -- Michael
В списке pgsql-hackers по дате отправления