Fix logical replication to fire BEFORE ROW DELETE triggers.

Robert Haas <rhaas@postgresql.org>

Commit: 360fd1a7b2fe779cc9e696b813b12f6a8e83b558
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-10-12T14:26:55Z
Releases: 11.0
Fix logical replication to fire BEFORE ROW DELETE triggers.

Before, that would fail to happen unless a BEFORE ROW UPDATE trigger
was also present.

Noted by me while reviewing a patch from Masahiko Sawada, who also
wrote this patch.  Reviewed by Petr Jelinek.

Discussion: http://postgr.es/m/CA+TgmobAZvCxduG8y_mQKBK7nz-vhbdLvjM354KEFozpuzMN5A@mail.gmail.com

Files

PathChange+/−
src/backend/executor/execReplication.c modified +1 −1

Discussion