Hi
This is the new pacth with TAP test and use Macro XLOGDIR.And i had add this patch to the commitfest, https://commitfest.postgresql.org/15/1302/
--Best Regards,Chen Huajun