logical decoding: beware of an unset specinsert change

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: 05c7426bac43aa3f07c32f40c16a78712d1f0c87
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2018-07-05T21:42:37Z
Releases: 11.0
logical decoding: beware of an unset specinsert change

Coverity complains that there is no protection in the code (at least in
non-assertion-enabled builds) against speculative insertion failing to
follow the expected protocol.  Add an elog(ERROR) for the case.

Files

PathChange+/−
src/backend/replication/logical/reorderbuffer.c modified +2 −0