logical decoding: beware of an unset specinsert change

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

Commit: 3ca966c06f91fb6ccc11d71d4094c1e297b8945d
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2018-07-05T21:42:37Z
Releases: 12.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