From 721f32eb4314eba75c90f2248dbff9e3b0dba131 Mon Sep 17 00:00:00 2001 From: Anthony Tuininga Date: Fri, 4 May 2018 21:35:07 -0600 Subject: [PATCH] Include transaction id in information printed to stdout, just like for query change notification. --- samples/DatabaseChangeNotification.py | 1 + 1 file changed, 1 insertion(+) diff --git a/samples/DatabaseChangeNotification.py b/samples/DatabaseChangeNotification.py index 41f7bd9..9d5dd74 100644 --- a/samples/DatabaseChangeNotification.py +++ b/samples/DatabaseChangeNotification.py @@ -34,6 +34,7 @@ def callback(message): registered = False return print("Message database name:", message.dbname) + print("Message tranasction id:", message.txid) print("Message tables:") for table in message.tables: print("--> Table Name:", table.name)