]> 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)
commit3ca966c06f91fb6ccc11d71d4094c1e297b8945d
tree77eab01895f7372d7e6b3d63c27d7e6865d06701
parent0c06534bd63b0bd23d7744a53f3b490a2adeea8a
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