Hi Haiyang,
Thank you for your summary.
One important thing is that we must not skip any call to ReorderBufferXidSetCatalogChanges() (direct or indirect)
duringfast-forwarding or building snapshot, because the historic snapshot only tracks txns with catalog changes, the
v6-0004seems to skip it in xact_decode().
Here is a related bug:
https://www.postgresql.org/message-id/flat/tencent_3A071B760AA1A38540B57F297332B7781C08%40qq.com
--
Regards,
ChangAo Chen
Чтобы сделать работу с сайтом удобнее, мы используем cookie и аналитический сервис «Яндекс.Метрика». Продолжая пользоваться сайтом, вы соглашаетесь с их использованием.