what is that "(t" in the SELECT there for ? or is it just typo, or something missing/etc ?
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных