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

Reply via email to