Fix logical replication to fire BEFORE ROW DELETE triggers.
authorRobert Haas
Thu, 12 Oct 2017 14:09:26 +0000 (10:09 -0400)
committerRobert Haas
Thu, 12 Oct 2017 14:26:54 +0000 (10:26 -0400)
commit7cde649ab150412344ee50fc90f24d6fe891bcf0
tree2731abf7f6b307aa8df800a38ce38ad859f51a69
parent604723d29a86f38551e43997e6f40daa94f54b27
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
src/backend/executor/execReplication.c