On Tue, Mar 4, 2025 at 10:44 PM Bertrand Drouvot <bertranddrouvot.pg@gmail.com> wrote: > > After sleeping on it, PFA a simplified version.
Running tests on v5 patch for a few hours was uneventful (which is good).
I think we don't need to even do palloc() for the buffer as we can use the char[MAXPGPATH] instead. I've attached the patch to improve the parse_snapshot_filename() function and add some regression tests. Please review these changes.
I've updated that with this patch too. Will update if something comes up.