diff options
author | Amit Kapila <akapila@postgresql.org> | 2022-03-08 08:08:32 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2022-03-08 08:08:32 +0530 |
commit | d3e8368c4b6e5110d8b3d12859850aeaae08dffb (patch) | |
tree | 2c5ee9eb72722f2fe5950ec8a4b671dbc454add3 /src/backend/executor/execReplication.c | |
parent | 4228cabb72bb57e1df4c9d92613f1fcd4baadd5a (diff) | |
download | postgresql-d3e8368c4b6e5110d8b3d12859850aeaae08dffb.tar.gz postgresql-d3e8368c4b6e5110d8b3d12859850aeaae08dffb.zip |
Add the additional information to the logical replication worker errcontext.
This commits adds both the finish LSN (commit_lsn in case transaction got
committed, prepare_lsn in case of a prepared transaction, etc.) and
replication origin name to the existing error context message.
This will help users in specifying the origin name and transaction finish
LSN to pg_replication_origin_advance() SQL function to skip a particular
transaction.
Author: Masahiko Sawada
Reviewed-by: Takamichi Osumi, Euler Taveira, and Amit Kapila
Discussion: https://postgr.es/m/CAD21AoBarBf2oTF71ig2g_o=3Z_Dt6_sOpMQma1kFgbnA5OZ_w@mail.gmail.com
Diffstat (limited to 'src/backend/executor/execReplication.c')
0 files changed, 0 insertions, 0 deletions