Re: Add arbitrary xid and mxid to pg_resetwal

2025-03-10 Thread Daniil Davydov
Hi, On Fri, Mar 7, 2025 at 9:35 PM Aleksander Alekseev wrote: > Your patch should target the `master` branch. Also please add a > corresponding entry to the nearest open commitfest [1]. OK, thanks for the notice! I attach the v2 patch for the `master` branch to this letter. Now you can also find

Re: Add arbitrary xid and mxid to pg_resetwal

2025-03-07 Thread Aleksander Alekseev
Hi Daniil, Thanks for the patch. > main idea of this patch (for REL_17_STABLE) Your patch should target the `master` branch. Also please add a corresponding entry to the nearest open commitfest [1]. > In my opinion, this will be useful primarily to simplify testing, since at > the moment you h

Add arbitrary xid and mxid to pg_resetwal

2025-03-05 Thread Daniil Davydov
Hi, I prepared a patch that will allow us to set arbitrary values in -m and -x options for pg_resetwal. For now, it is not possible to specify a value that does not fit into existing SLRU segments, and main idea of this patch (for REL_17_STABLE) is to create such segments inside pg_resetwal's main(