Hello.
It is also could be related -https://www.postgresql.org/message-id/flat/20220112112425.pgzymqcgdy62e7m3%40jrouhaud#097b54a539ac3091ca4e4ed8ce9ab89c(both Windows and Linux cases.
Best regards,Michail.