From b55c0d043f46b7455d381ee0bceaa0ec6dcfbc26 Mon Sep 17 00:00:00 2001 From: Debian/Kubuntu Qt/KDE Maintainers Date: Wed, 13 Apr 2016 11:36:15 +0200 Subject: [PATCH] postgresql-data-checksums Gbp-Pq: Name postgresql-data-checksums.patch --- src/server/storage/dbconfigpostgresql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/storage/dbconfigpostgresql.cpp b/src/server/storage/dbconfigpostgresql.cpp index 2c2648c..430bfc3 100644 --- a/src/server/storage/dbconfigpostgresql.cpp +++ b/src/server/storage/dbconfigpostgresql.cpp @@ -495,7 +495,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)) { -- 2.30.2