Issue #21852: Add support for PostgreSQL 9.3

Changes to qt client to support 9.3. Depend on new functions committed to the database repo in a separate pull request.