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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 4168a47) | patch
Improve error messages for some callers of XLogReadRecord()
2021年11月10日 03:00:33 +0000 (12:00 +0900)
2021年11月10日 03:00:33 +0000 (12:00 +0900)
commit c9c401a5e13accc4a3a775e3feeabdc5940c9178
Improve error messages for some callers of XLogReadRecord()

A couple of code paths related to logical decoding (WAL sender, slot
advancing, etc.) use XLogReadRecord(), feeding on error messages
generated by walreader.c on a failure. All those messages have no
context, making it harder to spot from where an error could come even if
these should not happen. All the other callers of XLogReadRecord() do
that already.

Reviewed-by: Kyotaro Horiguchi
Discussion: https://postgr.es/m/YYnTH6OyOwQcAdkw@paquier.xyz
src/backend/replication/logical/logical.c diff | blob | blame | history
src/backend/replication/logical/logicalfuncs.c diff | blob | blame | history
src/backend/replication/slotfuncs.c diff | blob | blame | history
src/backend/replication/walsender.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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