I also tried other combinations of casting both sides of "=" and it still did not work.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных