From: Debian/Kubuntu Qt/KDE Maintainers Date: Wed, 13 Apr 2016 09:36:15 +0000 (+0200) Subject: postgresql-data-checksums X-Git-Tag: archive/raspbian/4%21.08.1-1+rpi1^2^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a6a8e7b4fba981c2974e0aa214e77d12b79cfb07;p=akonadi.git postgresql-data-checksums Gbp-Pq: Name postgresql-data-checksums.patch --- diff --git a/src/server/storage/dbconfigpostgresql.cpp b/src/server/storage/dbconfigpostgresql.cpp index 38364e3..369b7c2 100644 --- a/src/server/storage/dbconfigpostgresql.cpp +++ b/src/server/storage/dbconfigpostgresql.cpp @@ -503,7 +503,7 @@ bool DbConfigPostgresql::startInternalServer() } #endif // call 'initdb --pgdata=/home/user/.local/share/akonadi/db_data' - execute(mInitDbPath, {QStringLiteral("--pgdata=%1").arg(mPgData), QStringLiteral("--encoding=UTF8"), QStringLiteral("--no-locale")}); + execute(mInitDbPath, {QStringLiteral("--pgdata=%1").arg(mPgData), QStringLiteral("--encoding=UTF8"), QStringLiteral("--data-checksums"), QStringLiteral("--no-locale")}); } else { const auto versions = checkPgVersion(); if (versions.has_value() && (versions->clusterVersion < versions->pgServerVersion)) {