git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 4228cab) | patch
Add the additional information to the logical replication worker errcontext.
Tue, 8 Mar 2022 02:38:32 +0000 (08:08 +0530)
Tue, 8 Mar 2022 02:38:32 +0000 (08:08 +0530)
commit d3e8368c4b6e5110d8b3d12859850aeaae08dffb
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
doc/src/sgml/logical-replication.sgml diff | blob | blame | history
src/backend/replication/logical/worker.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /