- 
    Bug 
- 
    Resolution: Done
- 
    P2: Important 
- 
    5.9.2, 5.10.0 Alpha, 5.10.0 Beta 1, 5.10.0 Beta 2, 5.10.0 Beta 3
- 
    None
- 
    System Information:
 
 Debian Release: buster/sid
 
 Architecture: amd64 (x86_64)
 
 Foreign Architectures: i386
 
 Kernel: Linux 4.13.0-1-amd64 (SMP w/8 CPU cores)
 
 Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=ru_RU.UTF-8 (charmap=UTF-8)
 
 Shell: /bin/sh linked to /bin/dash
 
 Init: systemd (via /run/systemd/system)
 
 Versions of packages libqt5sql5-psql depends on:
 
 ii libc6 2.24-17
 
 ii libpq5 10.0-1+b1
 
 ii libqt5core5a [qtbase-abi-5-9-2] 5.9.2+dfsg-4.1
 
 i libqt5sql5 5.9.2+dfsg-4
 
 ii libstdc++6 7.2.0-12System Information: Debian Release: buster/sid Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.13.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8), LANGUAGE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libqt5sql5-psql depends on: ii libc6 2.24-17 ii libpq5 10.0-1+b1 ii libqt5core5a [qtbase-abi-5-9-2] 5.9.2+dfsg-4.1 i libqt5sql5 5.9.2+dfsg-4 ii libstdc++6 7.2.0-12
- 
        435c4b2ccbbb7284918dd2d4a14f8e44c3977d98
- QT-5.9.[1,2] (and future QT-5.10?) in the upstram do not support PostgreSQL 10.
- Users who use QPSQLDriver in there applications (e.g. who use akonadi-backend-postgresql) with PostgreSQL 10 are not able to work completely.
Attached patch works for Qt 5.9.1 and Qt 5.9.2.