From: Amit Kapila Date: Thu, 24 Jun 2021 09:37:13 +0000 (+0530) Subject: Fix ABI break introduced by commit 4daa140a2f. X-Git-Tag: REL_11_13~80 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e95f617acc4808c6d5e031ea04198e89a49c9fb6;p=thirdparty%2Fpostgresql.git Fix ABI break introduced by commit 4daa140a2f. Move the newly defined enum value REORDER_BUFFER_CHANGE_INTERNAL_SPEC_ABORT at the end to avoid ABI break in the back branches. We need to back-patch this till v11 because before that it is already at the end. Reported-by: Tomas Vondra Backpatch-through: 11 Discussion: https://postgr.es/m/CAExHW5sPKF-Oovx_qZe4p5oM6Dvof7_P+XgsNAViug15Fm99jA@mail.gmail.com --- diff --git a/src/include/replication/reorderbuffer.h b/src/include/replication/reorderbuffer.h index ffb5a942ab0..3686cd28007 100644 --- a/src/include/replication/reorderbuffer.h +++ b/src/include/replication/reorderbuffer.h @@ -60,8 +60,8 @@ enum ReorderBufferChangeType REORDER_BUFFER_CHANGE_INTERNAL_TUPLECID, REORDER_BUFFER_CHANGE_INTERNAL_SPEC_INSERT, REORDER_BUFFER_CHANGE_INTERNAL_SPEC_CONFIRM, - REORDER_BUFFER_CHANGE_INTERNAL_SPEC_ABORT, - REORDER_BUFFER_CHANGE_TRUNCATE + REORDER_BUFFER_CHANGE_TRUNCATE, + REORDER_BUFFER_CHANGE_INTERNAL_SPEC_ABORT }; /*