Remove ReorderBufferTupleBuf structure.
authorMasahiko Sawada <msawada@postgresql.org>
Mon, 29 Jan 2024 01:37:16 +0000 (10:37 +0900)
committerMasahiko Sawada <msawada@postgresql.org>
Mon, 29 Jan 2024 01:37:16 +0000 (10:37 +0900)
commit08e6344fd6423210b339e92c069bb979ba4e7cd6
tree231defcb4b2376503dcbe21dfefb1a82c561e76c
parent50b797dc99ec3bf97ea5d0955a3b42d356c1522d
Remove ReorderBufferTupleBuf structure.

Since commit a4ccc1cef, the 'node' and 'alloc_tuple_size' fields of
the ReorderBufferTupleBuf structure are no longer used. This leaves
only the 'tuple' field in the structure. Since keeping a single-field
structure makes little sense, the ReorderBufferTupleBuf is removed
entirely. The code is refactored accordingly.

No back-patching since these are ABI changes in an exposed structure
and functions, and there would be some risk of breaking extensions.

Author: Aleksander Alekseev
Reviewed-by: Amit Kapila, Masahiko Sawada, Reid Thompson
Discussion: https://postgr.es/m/CAD21AoCvnuxiXXfRecp7g9+CeC35POQfhuQeJFr7_9u_Q5jc_Q@mail.gmail.com
contrib/test_decoding/test_decoding.c
src/backend/replication/logical/decode.c
src/backend/replication/logical/reorderbuffer.c
src/backend/replication/pgoutput/pgoutput.c
src/include/replication/reorderbuffer.h
src/tools/pgindent/typedefs.list