Fix logical replication to fire BEFORE ROW DELETE triggers.

Robert Haas <rhaas@postgresql.org>

Commit: 7cde649ab150412344ee50fc90f24d6fe891bcf0
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-10-12T14:26:54Z
Releases: 10.1
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