]> granicus.if.org Git - postgresql/commit
logical decoding: beware of an unset specinsert change
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 5 Jul 2018 21:42:37 +0000 (17:42 -0400)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 5 Jul 2018 21:42:37 +0000 (17:42 -0400)
commitbba8c612117416907f332fce8b9e80b748e0b798
tree0979a39b6b9c1a183802aac1d97fc722f8e72a04
parent7acbb481c808effffae7033b5ea1069112d6545f
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.
src/backend/replication/logical/reorderbuffer.c