Commit 74b2d3a4 authored by Daniel Vrátil's avatar Daniel Vrátil 🤖
Browse files

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
parent f217d9e9
......@@ -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 );
......
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