pgsql: Improve description of some WAL records with transaction command - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Improve description of some WAL records with transaction command
Date
Msg-id E1mwaiC-0007oG-K2@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Improve description of some WAL records with transaction commands

This commit improves the description of some WAL records for the
Transaction RMGR:
- Track remote_apply for a transaction commit.  This GUC is
user-settable, so this information can be useful for debugging.
- Add replication origin information for PREPARE TRANSACTION, with the
origin ID, LSN and timestamp
- Same as above, for ROLLBACK PREPARED.

This impacts the format of pg_waldump or anything using these
description routines, so no backpatch is done.

Author: Masahiko Sawada, Michael Paquier
Discussion: https://postgr.es/m/CAD21AoD2dJfgsdxk4_KciAZMZQoUiCvmV9sDpp8ZuKLtKCNXaA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c8b733c4c4b0c5b7aa93553aa5b7f2c1d0bf00bf

Modified Files
--------------
src/backend/access/rmgrdesc/xactdesc.c | 32 ++++++++++++++++++++++++++++----
1 file changed, 28 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Suppress -Warray-parameter warnings in pgcrypto/sha2.c.
Next
From: Tom Lane
Date:
Subject: pgsql: Suppress uninitialized-variable warning in guc.c.