[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#879960: marked as done (libqt5sql5-psql: [libqt5sql5-psql] basic support postgresql-10)



Your message dated Sun, 03 Dec 2017 13:56:15 +0000
with message-id <E1eLUkh-0000X6-P9@fasolo.debian.org>
and subject line Bug#879960: fixed in qtbase-opensource-src 5.9.2+dfsg-5
has caused the Debian Bug report #879960,
regarding libqt5sql5-psql: [libqt5sql5-psql] basic support postgresql-10
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
879960: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879960
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libqt5sql5-psql
Version: 5.9.1+dfsg-12
Severity: important
Tags: patch

Dear Maintainer,

   * QT-5.9.[1,2] (and future QT-5.10?) in the upstram do not support PostgreSQL 10.
   * Futire Debian release (at least the current SID) includes PostgreSQL 10.
   * Users who use QPSQLDriver in there applications (e.g. who use akonadi-backend-postgresql) are not able to work completely.
   * I suppose that a basic support of PostgreSQL 10 in QPSQLDriver will provide (at least temporal) solution until QT team support in the upstream.

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
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-0]  5.9.1+dfsg-12.1
ii  libqt5sql5                       5.9.1+dfsg-12.1
ii  libstdc++6                       7.2.0-12

libqt5sql5-psql recommends no packages.

libqt5sql5-psql suggests no packages.

-- no debconf information
Description: support postgresql 10
 .
 qtbase-opensource-src (5.9.1+dfsg-12.1) UNRELEASED; urgency=medium
 .
   * Non-maintainer upload.
   * Add postgresql-10 support.
Author: Damir R. Islamov <damir@trefle.ru>
Last-Update: 2017-10-17

--- qtbase-opensource-src-5.9.1+dfsg.orig/src/plugins/sqldrivers/psql/qsql_psql.cpp
+++ qtbase-opensource-src-5.9.1+dfsg/src/plugins/sqldrivers/psql/qsql_psql.cpp
@@ -748,6 +748,9 @@ static QPSQLDriver::Protocol qMakePSQLVe
     case 9:
         return QPSQLDriver::Version9;
         break;
+    case 10:
+        return QPSQLDriver::Version10;
+        break;
     default:
         break;
     }
@@ -993,7 +996,8 @@ bool QPSQLDriver::commitTransaction()
         d->pro == QPSQLDriver::Version82 ||
         d->pro == QPSQLDriver::Version83 ||
         d->pro == QPSQLDriver::Version84 ||
-        d->pro == QPSQLDriver::Version9) {
+        d->pro == QPSQLDriver::Version9 ||
+        d->pro == QPSQLDriver::Version10) {
         transaction_failed = qstrcmp(PQcmdStatus(res), "ROLLBACK") == 0;
     }
 
@@ -1110,6 +1114,7 @@ QSqlIndex QPSQLDriver::primaryIndex(cons
     case QPSQLDriver::Version83:
     case QPSQLDriver::Version84:
     case QPSQLDriver::Version9:
+    case QPSQLDriver::Version10:
         stmt = QLatin1String("SELECT pg_attribute.attname, pg_attribute.atttypid::int, "
                 "pg_class.relname "
                 "FROM pg_attribute, pg_class "
@@ -1200,6 +1205,7 @@ QSqlRecord QPSQLDriver::record(const QSt
     case QPSQLDriver::Version83:
     case QPSQLDriver::Version84:
     case QPSQLDriver::Version9:
+    case QPSQLDriver::Version10:
         stmt = QLatin1String("select pg_attribute.attname, pg_attribute.atttypid::int, "
                 "pg_attribute.attnotnull, pg_attribute.attlen, pg_attribute.atttypmod, "
                 "pg_attrdef.adsrc "
--- qtbase-opensource-src-5.9.1+dfsg.orig/src/plugins/sqldrivers/psql/qsql_psql_p.h
+++ qtbase-opensource-src-5.9.1+dfsg/src/plugins/sqldrivers/psql/qsql_psql_p.h
@@ -84,7 +84,8 @@ public:
         Version82 = 13,
         Version83 = 14,
         Version84 = 15,
-        Version9 = 16
+        Version9 = 16,
+        Version10 = 17
     };
 
     explicit QPSQLDriver(QObject *parent=0);

--- End Message ---
--- Begin Message ---
Source: qtbase-opensource-src
Source-Version: 5.9.2+dfsg-5

We believe that the bug you reported is fixed in the latest version of
qtbase-opensource-src, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 879960@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org> (supplier of updated qtbase-opensource-src package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 03 Dec 2017 10:24:03 -0300
Source: qtbase-opensource-src
Binary: libqt5core5a libqt5gui5 qt5-gtk-platformtheme libqt5network5 libqt5opengl5 libqt5sql5 libqt5sql5-mysql libqt5sql5-odbc libqt5sql5-psql libqt5sql5-sqlite libqt5sql5-tds libqt5sql5-ibase libqt5xml5 libqt5dbus5 libqt5test5 libqt5concurrent5 libqt5widgets5 libqt5printsupport5 qtbase5-dev qtbase5-private-dev libqt5opengl5-dev qtbase5-dev-tools qt5-qmake-bin qt5-qmake qtbase5-examples qt5-default qtbase5-doc qtbase5-doc-html
Architecture: source
Version: 5.9.2+dfsg-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
Description:
 libqt5concurrent5 - Qt 5 concurrent module
 libqt5core5a - Qt 5 core module
 libqt5dbus5 - Qt 5 D-Bus module
 libqt5gui5 - Qt 5 GUI module
 libqt5network5 - Qt 5 network module
 libqt5opengl5 - Qt 5 OpenGL module
 libqt5opengl5-dev - Qt 5 OpenGL library development files
 libqt5printsupport5 - Qt 5 print support module
 libqt5sql5 - Qt 5 SQL module
 libqt5sql5-ibase - Qt 5 Firebird database driver
 libqt5sql5-mysql - Qt 5 MySQL database driver
 libqt5sql5-odbc - Qt 5 ODBC database driver
 libqt5sql5-psql - Qt 5 PostgreSQL database driver
 libqt5sql5-sqlite - Qt 5 SQLite 3 database driver
 libqt5sql5-tds - Qt 5 FreeTDS database driver
 libqt5test5 - Qt 5 test module
 libqt5widgets5 - Qt 5 widgets module
 libqt5xml5 - Qt 5 XML module
 qt5-default - Qt 5 development defaults package
 qt5-gtk-platformtheme - Qt 5 GTK+ 3 platform theme
 qt5-qmake  - Qt 5 qmake Makefile generator tool
 qt5-qmake-bin - Qt 5 qmake Makefile generator tool — binary file
 qtbase5-dev - Qt 5 base development files
 qtbase5-dev-tools - Qt 5 base development programs
 qtbase5-doc - Qt 5 base documentation
 qtbase5-doc-html - Qt 5 base HTML documentation
 qtbase5-examples - Qt 5 base examples
 qtbase5-private-dev - Qt 5 base private development files
Closes: 879960 881943 883099 883304
Changes:
 qtbase-opensource-src (5.9.2+dfsg-5) unstable; urgency=medium
 .
   [ Dmitry Shachnev ]
   * Ship /usr/lib/${DEB_HOST_MULTIARCH}/qt.conf in qt5-qmake, which can be
     passed to qmake as -qtconf option for cross-building.
   * Ship /usr/bin/${DEB_HOST_GNU_TYPE}-qmake wrapper script in qt5-qmake, for
     using qmake with autoconf and AC_CHECK_TOOL.
   * Backport upstream patches for PostgreSQL 10 support (closes: #879960).
   * Change PCRE build-dependency to PCRE2. Qt switched to PCRE2 in 5.9.
     Pass a configure option to make sure that the system version is used
     (closes: #883304).
   * Backport upstream patch to fix crash in QDnsLookup when DNS response is
     over 512 bytes (closes: #883099).
 .
   [ Lisandro Damián Nicanor Pérez Meyer ]
   * Make libqt5opengl5-dev provide libqt5opengl5-desktop-dev on !armel and !armhf.
     In this way packages depending on Desktop OpenGL can use this package as
     a dependency without the need to keep an arch list (Closes: #881943).
Checksums-Sha1:
 31d0f98c895020b26376e21b49386a1e6c6d5d55 5066 qtbase-opensource-src_5.9.2+dfsg-5.dsc
 3403e4c0e30fedd7f6724695b7311cbbc6b7b756 220340 qtbase-opensource-src_5.9.2+dfsg-5.debian.tar.xz
 eab03ef72164d0ee0d39290729e96ec94b9b3048 9913 qtbase-opensource-src_5.9.2+dfsg-5_source.buildinfo
Checksums-Sha256:
 89e92150a7d2cd521221be30182d10f460e0be9194a7e9f42660e189e3614c5f 5066 qtbase-opensource-src_5.9.2+dfsg-5.dsc
 d73245e80869e41aa33b47b520c38825a5acf3a4dad453e9087487c86d84e4c8 220340 qtbase-opensource-src_5.9.2+dfsg-5.debian.tar.xz
 1a40f30cb1a3b02c60a52be6ace623a7910d1058dab73d175d513f59b100534a 9913 qtbase-opensource-src_5.9.2+dfsg-5_source.buildinfo
Files:
 e7b4690576620c7e141d1c2f7813d8fd 5066 libs optional qtbase-opensource-src_5.9.2+dfsg-5.dsc
 818f0e2deda3f131d8041826e56f0a81 220340 libs optional qtbase-opensource-src_5.9.2+dfsg-5.debian.tar.xz
 713dc5507365364430edb0f93f0b3a32 9913 libs optional qtbase-opensource-src_5.9.2+dfsg-5_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCAAyFiEEEt36hKwjsrvwSzE8q2RfQGKGp9AFAloj/ToUHGxpc2FuZHJv
QGRlYmlhbi5vcmcACgkQq2RfQGKGp9C01Q//YiPSGjPcFrnmJp5MYYo8a4iStGjj
mDvFiOMXM2b1eoLe7WLXNj5q5pvRiCcgNDUfhSww/W83ugR5/3/ySrcFHY8LCiCI
oFpV0fFbBocZAgTVfgbZ9mO0gINTHiMlUSu16JK4mQAx+0nEU/j5OG3tpaEG+Gci
8d2bHqaXO9Wyr9njIyuVGWW1IT/NRx+G3oTlrDllvAIA9zBvJ0LqwtNzUcw3EY2L
8G+6YwrWTx2Eci55nFw+0PLaXUQqQktJx1bB9ipoW0bZOguiEO1NIdxDwX5PMCQA
AqZzaJfRjCxJXPB756VPPqYXchO8wStYN+k/A/1JR/fU+CxNKvF4WcEusrjYj+h1
mBa/qVM/chEMMxczlKYd7zb67EvPByW1/dysqOeGfq/fmNiQ5b2pnEBL81Ofv2V/
9k7J9afElIb9Vl3GBzSqsYqrTThqhtttzKT6FAGoc91zZ5WWbEnXGC6cdYjY/qco
k7K5u0yLusz5c2DZGDyEfTq+oLsrYOUWytJ6eCbj9qw+0S21MqYmGQjTf1G6dz29
Op4OXBBGNmeK9a78qr/B9XffaO0hpHX2nb/pm6un+T6BQVWgHhznA3ixHG9T+/6I
knx318kHLDOUlsD7rgdUkQK5ulTUb1u2Ej/K9WpAUjP+3Z0dKxEQLKoXQKSKpe9o
1PhGE2DmoHTKoS0=
=yP4V
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: