]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix ABI break introduced by commit 4daa140a2f.
authorAmit Kapila <akapila@postgresql.org>
Thu, 24 Jun 2021 09:37:13 +0000 (15:07 +0530)
committerAmit Kapila <akapila@postgresql.org>
Thu, 24 Jun 2021 09:56:37 +0000 (15:26 +0530)
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

src/include/replication/reorderbuffer.h

index ffb5a942ab0fb25827f4e3af6c25b7d5c483fd9e..3686cd28007d6d967af568519158c274ba8532c0 100644 (file)
@@ -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
 };
 
 /*