Hi Hugh, I have abstracted out the windows compatibility changes from your patch to a new patch and tested it. Added the patch to https://commitfest.postgresql.org/23/
Please feel free to change it if it requires any changes. Cheers Ram 4.0
v1_unaccent_windows_compatibility.patch
Description: Binary data