| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Make some use of anonymous unions [reorderbuffer xact_time] |
| Date: | 2025-09-30 10:37:22 |
| Message-ID: | E1v3XjV-000lYa-2N@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(dot)evan(dot)chao(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/f00a9968-388e-4f8c-b5ef-5102e962d997%40eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/57d46dff9b0ba8dc50fb37166373ea7638ecd2b9
Modified Files
--------------
contrib/test_decoding/test_decoding.c | 12 ++++++------
src/backend/replication/logical/proto.c | 14 +++++++-------
src/backend/replication/logical/reorderbuffer.c | 14 +++++++-------
src/backend/replication/pgoutput/pgoutput.c | 2 +-
src/include/replication/reorderbuffer.h | 2 +-
5 files changed, 22 insertions(+), 22 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2025-09-30 11:13:30 | pgsql: Revert "Make some use of anonymous unions [pgcrypto]" |
| Previous Message | Álvaro Herrera | 2025-09-30 10:29:15 | pgsql: Do a tiny bit of header file maintenance |