aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2021-06-24 14:53:50 +0530
committerAmit Kapila <akapila@postgresql.org>2021-06-24 15:25:13 +0530
commit72b51e214a2c73bf0985a049f124bb51ed973601 (patch)
treeb08887810b2fa899da9ea76372859e8f3ed6c2a8
parent8b01a403c5cc4e070107bea04e8e285151a0a073 (diff)
downloadpostgresql-72b51e214a2c73bf0985a049f124bb51ed973601.tar.gz
postgresql-72b51e214a2c73bf0985a049f124bb51ed973601.zip
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
-rw-r--r--src/include/replication/reorderbuffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/replication/reorderbuffer.h b/src/include/replication/reorderbuffer.h
index 1ced41ffbe6..bc97b08a901 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
};
/*