summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarko Kreen2010-11-02 13:25:51 +0000
committerMarko Kreen2010-11-02 13:41:48 +0000
commita01a3f2c53f6bf977f259bd96ceb3f19fb5ca08e (patch)
tree129ee4e4898859097bd26ec5c3f4e1638ea6bcd6
parent9ece8f300cbdfd54431ef16fe822e25c787d5813 (diff)
dbservice: use txid_current() instead of old name
-rwxr-xr-xpython/skytools/dbservice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/skytools/dbservice.py b/python/skytools/dbservice.py
index dab4fa1c..c11ff209 100755
--- a/python/skytools/dbservice.py
+++ b/python/skytools/dbservice.py
@@ -448,7 +448,7 @@ class ServiceContext(DBService):
plpy.error("Username must be provided in db service context parameter")
self.username = rec['username'] # used for logging purposes
- res = plpy.execute("select get_current_txid() as txid;")
+ res = plpy.execute("select txid_current() as txid;")
row = res[0]
self.version = row["txid"]
self.rows_found = 0 # Flag set by run query to inicate number of rows got