From 74b2d3a43e19f5262ec84ccf609925eeb071d755 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Vr=C3=A1til?= <dvratil@redhat.com>
Date: Tue, 6 May 2014 16:49:32 +0200
Subject: [PATCH 6/7] Remove space from an argument passed to postgres server
Some users reported problem with starting PostgreSQL when there's a space
between name and value of an argument passed to postgres. Removing the
space fixes problem for them (withouth breaking PostgreSQL for those who
didn't have a problem with the space)
Thanks SergTruf for the patch.
BUG: 332988
FIXED-IN: 1.12.2
---
server/src/storage/dbconfigpostgresql.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/src/storage/dbconfigpostgresql.cpp b/server/src/storage/dbconfigpostgresql.cpp
index 7b61819..ce8067b 100644
--- a/server/src/storage/dbconfigpostgresql.cpp
+++ b/server/src/storage/dbconfigpostgresql.cpp
@@ -223,7 +223,7 @@ void DbConfigPostgresql::startInternalServer()
<< QString::fromLatin1( "--pgdata=%1" ).arg( mPgData )
// set the directory for unix domain socket communication
// -o will pass the switch to postgres
- << QString::fromLatin1( "-o \"-k %1\"" ).arg( socketDir );
+ << QString::fromLatin1( "-o \"-k%1\"" ).arg( socketDir );
QProcess pgCtl;
pgCtl.start( mServerPath, arguments );
--
1.9.3