Fix support for Postgres 9.2
This commit is contained in:
parent
c3dc6f69e9
commit
1c77d5ae80
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353116
2 changed files with 12 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= archiveopteryx
|
||||
PORTVERSION= 3.2.0
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://archiveopteryx.org/download/
|
||||
|
||||
|
|
11
mail/archiveopteryx/files/patch-db__postgres.cpp
Normal file
11
mail/archiveopteryx/files/patch-db__postgres.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- ./db/postgres.cpp.orig 2014-05-06 13:03:48.795894217 -0500
|
||||
+++ ./db/postgres.cpp 2014-05-06 13:04:03.207891218 -0500
|
||||
@@ -85,7 +85,7 @@
|
||||
"from pg_locks h join pg_locks w using (locktype) "
|
||||
"join pg_stat_activity a on (h.pid="
|
||||
);
|
||||
- if (Postgres::version() < 90300)
|
||||
+ if (Postgres::version() < 90200)
|
||||
s.append( "a.procpid" );
|
||||
else
|
||||
s.append( "a.pid" );
|
Loading…
Reference in a new issue