Tighten the concurrent abort check during decoding. During decoding of an in-progress or prepared transaction, we detect concurrent abort with an error code ERRCODE_TRANSACTION_ROLLBACK. That is not sufficient because a callback can decide to throw that error code at other times as well.
Reported-by: Tom Lane Author: Amit Kapila Reviewed-by: Dilip Kumar Discussion: https://postgr.es/m/caa4ek1kcjprs4azhb48qmm4j8xoc1+td8jo-4yu84e+mjwq...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/2ce353fc19024d62e59ad99850d7592ebc9abecf Modified Files -------------- src/backend/replication/logical/reorderbuffer.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-)
