]> git.ipfire.org Git - thirdparty/postgresql.git/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)
commit02bfd6d415bfacdf16a273420fd86c67189556ff
tree76c94f59213bb9a03d27ddec6fd33fed4994ce53
parenteedbbff504e408bd65ff22e70fde85b5ac0bf8c0
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