D22154: Add support for old PostgreSQL binary directories used by Arch Linux

nl6720 noreply at phabricator.kde.org
Sat Jun 29 13:36:36 BST 2019


nl6720 created this revision.
nl6720 added a reviewer: KDE PIM.
nl6720 added a project: KDE PIM.
Herald added a subscriber: kde-pim.
nl6720 requested review of this revision.

REVISION SUMMARY
  Arch Linux packages places old PostgreSQL in `/opt/pgsql-PG_VERSION/`. See https://www.archlinux.org/packages/extra/x86_64/postgresql-old-upgrade/files/ .

TEST PLAN
  The lazy method
  ===============
  
  Install postgresql <https://www.archlinux.org/packages/extra/x86_64/postgresql/> and postgresql-old-upgrade <https://www.archlinux.org/packages/extra/x86_64/postgresql-old-upgrade/>.
  Create `~/.config/akonadi/akonadiserverrc`:
  
    [%General]
    Driver=QPSQL
    
    [QPSQL]
    ServerPath=/opt/pgsql-10/bin/pg_ctl
    InitDbPath=/opt/pgsql-10/bin/initdb
  
  Start Akonadi: `akonadictl start`.
  Stop Akonadi: `akonadictl stop`.
  
  Update `~/.config/akonadi/akonadiserverrc`:
  
    [%General]
    Driver=QPSQL
    
    [QPSQL]
    ...
    ServerPath=/us/bin/pg_ctl
    InitDbPath=/usr/bin/initdb
    ...
  
  Start Akonadi: `akonadictl start`.
  The database cluster should get successfully updated.

REPOSITORY
  R165 Akonadi

REVISION DETAIL
  https://phabricator.kde.org/D22154

AFFECTED FILES
  src/server/storage/dbconfigpostgresql.cpp

To: nl6720, #kde_pim
Cc: kde-pim, #kde_pim, dvasin, rodsevich, winterz, vkrause, mlaurent, knauss, dvratil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20190629/5241faf1/attachment.html>


More information about the kde-pim mailing list