[prev in list] [next in list] [prev in thread] [next in thread]
List: postgresql-general
Subject: [GENERAL] Logical replication + before trigger = ERROR: attempted to lock invisible tuple
From: "Thomas Rosenstein" <thomas.rosenstein () creamfinance ! com>
Date: 2017-11-13 20:11:55
Message-ID: 264A599D-9D31-415F-B8AB-6CBD320F9B98 () creamfinance ! com
[Download RAW message or body]
Hi,
I'm trying to execute a BEFORE UPDATE trigger for my logical replication
subscription with Postgresql 10.1 but the apply worker crashes with:
ERROR: attempted to lock invisible tuple
The trigger creation:
CREATE TRIGGER customers_anonymize_before_update BEFORE UPDATE ON
customers FOR EACH ROW EXECUTE PROCEDURE customers_anonymize();
The "BEFORE INSERT" trigger seems to work fine.
I found this Issue on 2ndQuadrant:
https://github.com/2ndQuadrant/pglogical/issues/97
Is this on the radar? Is it already fixed?
Thanks
BR
Thomas
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic