On Sun, Jan 14, 2024 at 4:35 AM Alexander Korotkov <aekorot...@gmail.com> wrote: > On Sat, Jan 13, 2024 at 7:33 PM Dmitry Koval <d.ko...@postgrespro.ru> wrote: > > Thank you, there is one small point left (in the comment): can you > > replace "guarantteed to be to be newer" to "guaranteed to be newer", > > file src/backend/storage/ipc/procarray.c? > > Fixed. Thank you for catching this.
I made the following improvements to the patch. 1. I find a way to implement the path with less changes to the core code. The GetRunningTransactionData() function allows to get the least running xid, all I need is to add database-aware values. 2. I added the TAP test reproducing the original issue. I'm going to push this if no objections. ------ Regards, Alexander Korotkov
v6-0001-Fix-false-reports-in-pg_visibility.patch
Description: Binary data