I investigated this issue under Valgrind and found that in v13 it is no longer detected and the patch in the discussion above is no longer needed.
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных