Fix support for Postgres 9.2

This commit is contained in:
Mark Felder 2014-05-06 18:14:01 +00:00
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

View file

@ -3,7 +3,7 @@
PORTNAME= archiveopteryx
PORTVERSION= 3.2.0
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= mail
MASTER_SITES= http://archiveopteryx.org/download/

View 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" );