Bug 1815921 - Please backport patch to support PostgreSQL 12
Summary: Please backport patch to support PostgreSQL 12
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qt5-qtbase
Version: 32
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-22 18:07 UTC by Robert-André Mauchin 🐧
Modified: 2020-03-30 00:16 UTC (History)
5 users (show)

Fixed In Version: qt5-qtbase-5.13.2-4.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-30 00:16:44 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Robert-André Mauchin 🐧 2020-03-22 18:07:05 UTC
On Fedora 32 we have PostgreSQL 12. However we can't use it with Akonadi because the support for PGSQL 12 was only added to Qt 5.14: https://codereview.qt-project.org/c/qt/qtbase/+/277205

Could you backport this patch to 5.13.2 like they did in ArchLinux: https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/qt5-base&id=e2e155ce2074d984a65e48eb698a3b5a9a3dfbd0

Comment 1 Robert-André Mauchin 🐧 2020-03-22 19:28:21 UTC
I built it locally and now akonadi with PGSQL backend works fine. It was previously showing the following error:

org.kde.pim.akonadiserver: Starting up the Akonadi Server...
org.kde.pim.akonadiserver: Running DB initializer
org.kde.pim.akonadiserver: "\nSql error: ERROR:  column \"version\" of relation \"schemaversiontable\" already exists\n(42701) QPSQL: Unable to create query\nQuery: ALTER TABLE SchemaVersionTable ADD COLUMN version INTEGER NOT NULL DEFAULT 0"
org.kde.pim.akonadiserver: Unable to initialize database.

Comment 2 Rex Dieter 2020-03-22 22:08:01 UTC
https://src.fedoraproject.org/rpms/qt5-qtbase/pull-request/1

merged, builds under way

Comment 3 Fedora Update System 2020-03-24 01:52:39 UTC
FEDORA-2020-7f77d0f63a has been pushed to the Fedora 32 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-7f77d0f63a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-7f77d0f63a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2020-03-30 00:16:44 UTC
FEDORA-2020-7f77d0f63a has been pushed to the Fedora 32 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.