Thanks for the reply! Glad to know it can not be done, so I will stop trying. Maybe this will be the moment when I decide to contribute to postgresql :)
psycopg by date:
Соглашаюсь с условиями обработки персональных данных