]> 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)
commit05c7426bac43aa3f07c32f40c16a78712d1f0c87
treec9c3102954104db31b28acf8e23f14d9cc0e6549
parentd5176fa1e3c38ee651c9937b33e673db7cd4d9e8
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