Commit 2cc00d28 authored by Dmitry Smirnov's avatar Dmitry Smirnov

New patch to add PostgreSQL 9.4 search path (Closes: #791805).

parent eb16a99e
Last-Update: 2015-07-14
Forwarded: no
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791805
Author: Dmitry Smirnov <onlyjob@member.fsf.org>
Description: add PostgreSQL 9.4 path
Perhaps there shall be a better way to find PostgreSQL executable than
to search through the list of hard-coded paths...
--- a/server/src/storage/dbconfigpostgresql.cpp
+++ b/server/src/storage/dbconfigpostgresql.cpp
@@ -78,9 +78,10 @@
<< QLatin1String( "/usr/lib/postgresql/8.4/bin" )
<< QLatin1String( "/usr/lib/postgresql/9.0/bin" )
<< QLatin1String( "/usr/lib/postgresql/9.1/bin" )
<< QLatin1String( "/usr/lib/postgresql/9.2/bin" )
- << QLatin1String( "/usr/lib/postgresql/9.3/bin" );
+ << QLatin1String( "/usr/lib/postgresql/9.3/bin" )
+ << QLatin1String( "/usr/lib/postgresql/9.4/bin" );
defaultServerPath = XdgBaseDirs::findExecutableFile( QLatin1String( "pg_ctl" ), postgresSearchPath );
defaultInitDbPath = XdgBaseDirs::findExecutableFile( QLatin1String( "initdb" ), postgresSearchPath );
defaultHostName = Utils::preferredSocketDirectory( AkStandardDirs::saveDir( "data", QLatin1String( "db_misc" ) ) );
postgresql9.4.patch
upstream-fix_typo_in_if_condition.patch
upstream-fix_buffer_overflow_in_AKTEST_FAKESERVER_MAIN.patch
upstream-do_not_crash_when_setmntent_returns_NULL.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