From 9592817df3dd98814c5ae0845dd1617ac20d774d Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <dan@randomdan.homeip.net>
Date: Sun, 25 Jul 2021 12:45:15 +0100
Subject: Add before/after event to update position in replication stream

---
 lib/output/pq/sql/updateSourcePosition.sql | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'lib/output/pq/sql/updateSourcePosition.sql')

diff --git a/lib/output/pq/sql/updateSourcePosition.sql b/lib/output/pq/sql/updateSourcePosition.sql
index 74e22fc..09554f4 100644
--- a/lib/output/pq/sql/updateSourcePosition.sql
+++ b/lib/output/pq/sql/updateSourcePosition.sql
@@ -1,4 +1,3 @@
 UPDATE mygrate.source SET
-	filename = $1,
-	position = $2
-WHERE source_id = $3
+	position = $1
+WHERE source_id = $2
-- 
cgit v1.2.3

