aboutsummaryrefslogtreecommitdiffstats
path: root/mail/archiveopteryx/files/patch-db__postgres.cpp
blob: cb0eaeefc3b20a233a55578004225e95103e1b42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
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" );