]> 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)
commit95b6a40915cd03b9d1d09fc0bb4bcc374ee2165b
tree88c6cc7a8959569a1570cccb2d223b437a988706
parent301b2a1aad77eeda54b02027597eb65e976a8c7b
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