]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Make some use of anonymous unions [reorderbuffer xact_time]
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 30 Sep 2025 10:24:15 +0000 (12:24 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 30 Sep 2025 10:35:50 +0000 (12:35 +0200)
commit57d46dff9b0ba8dc50fb37166373ea7638ecd2b9
tree8a97758eea51b179496ffd5ee8283d88302a00e3
parent4b7e6c73b0df3384345052616727a25505db5fcb
Make some use of anonymous unions [reorderbuffer xact_time]

Make some use of anonymous unions, which are allowed as of C11, as
examples and encouragement for future code, and to test compilers.

This commit changes the ReorderBufferTXN struct.

Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/f00a9968-388e-4f8c-b5ef-5102e962d997%40eisentraut.org
contrib/test_decoding/test_decoding.c
src/backend/replication/logical/proto.c
src/backend/replication/logical/reorderbuffer.c
src/backend/replication/pgoutput/pgoutput.c
src/include/replication/reorderbuffer.h