If you use QT, it has PG connector classes I believe (it had in 3.x).
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных