Fix query time action
authorJehan-Guillaume (ioguix) de Rorthais <jgdr@dalibo.com>
Tue, 4 Oct 2011 19:40:53 +0000 (21:40 +0200)
committerGuillaume Lelarge <guillaume@lelarge.info>
Tue, 4 Oct 2011 19:40:53 +0000 (21:40 +0200)
commit872aa96d371a7f07b6d78525dcaa99aff98fbf83
treea54b296c97f0cc2af0753d9108b29c828b7c49b4
parent0e1cb6bea1b011f0a3f779cd5414fc36573ae2d4
Fix query time action

The query_time action works before 8.1 if the query doesn't include the
xact_start column. But we need this column for the txn_time action. So, I
changed the query so that the query_time can work with 8.1 and upwards, and
that the txn_time works with 8.3 and upwards.
check_postgres.pl