From f697dbe89b47e3c6b07a03243a5e119c757569f5 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Fri, 12 Oct 2007 09:39:07 +0000 Subject: convert to new txid interface apperaing in 8.3 --- python/pgq/ticker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/pgq/ticker.py') diff --git a/python/pgq/ticker.py b/python/pgq/ticker.py index a9d6190c..bff59214 100644 --- a/python/pgq/ticker.py +++ b/python/pgq/ticker.py @@ -11,7 +11,7 @@ from maint import MaintenanceJob __all__ = ['SmartTicker'] def is_txid_sane(curs): - curs.execute("select get_current_txid()") + curs.execute("select txid_current()") txid = curs.fetchone()[0] # on 8.2 theres no such table -- cgit v1.2.3