bucardo/check_postgres — pull request #22 by mbra (2013-02-11 10:53:17+00:00)
Title: Fix userclause handling in check_txn_idle

For databases > Postgrs 9.1, irrelevant records are discarded
with two ORed conditions. This makes the optional userclause
associate with the right hand side of the condition. The expression
needs to be grouped to get the desired effect regardless of the
evaluation of the previous condition.