I already have solution. Just have to use ESCAPE
pgsql-performance by date:
Соглашаюсь с условиями обработки персональных данных