Commit f9938783 authored by Dmitry Smirnov's avatar Dmitry Smirnov

Initialise PSQL database with "--data-checksums" (Closes: #791807).

parent ddc92e78
Last-Update: 2015-07-14
Forwarded: no
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791807
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: initialise PSQL database with "--data-checksums".
--- a/server/src/storage/dbconfigpostgresql.cpp
+++ b/server/src/storage/dbconfigpostgresql.cpp
@@ -219,8 +219,9 @@
const QString command = QString::fromLatin1( "%1" ).arg( mInitDbPath );
QStringList arguments;
arguments << QString::fromLatin1( "--pgdata=%2" ).arg( mPgData )
// TODO check locale
+ << QString::fromLatin1( "--data-checksums" )
<< QString::fromLatin1( "--locale=en_US.UTF-8" );
QProcess::execute( command, arguments );
}
postgresql-data-checksums.patch
postgresql9.4.patch
upstream-fix_typo_in_if_condition.patch
upstream-fix_buffer_overflow_in_AKTEST_FAKESERVER_MAIN.patch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment