Hello! In continuation of the topic, I, under the leadership of Alexander Lakhin, prepared patches that fix these problems. We decided that these checks would be enough and put them in the places we saw fit.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных