On Tue, Sep 8, 2026 at 9:52 AM Hayato Kuroda (Fujitsu) <[email protected]> wrote: > > In added test we tried to assign a transaction ID then ensure xmin of the slot > can be smaller. However, since query_until() could return before starting a > new > transaction, there was a case that $next_xid cannot be computed correctly. > IIUC query_safe() returns after running all the command and it should be used > here. > Also, I found another unnecessary usage of query_until(), it's also fixed. > > Please see attached to fix the issue. This must be backpatched to PG19 and > attached could be applied. >
Thanks for the analysis and patch, it looked good to me. Pushed. -- With Regards, Amit Kapila.
