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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: f3bc519) | patch
Fix the display of UNKNOWN message type in apply worker.
2023年7月25日 03:42:29 +0000 (09:12 +0530)
2023年7月25日 03:42:29 +0000 (09:12 +0530)
commit d38ad8e31dee1a69f4f6d4b6bb4e007e3751a93c
Fix the display of UNKNOWN message type in apply worker.

We include the message type while displaying an error context in the
apply worker. Now, while retrieving the message type string if the
message type is unknown we throw an error that will hide the original
error. So, instead, we need to simply return the string indicating an
unknown message type.

Reported-by: Ashutosh Bapat
Author: Euler Taveira, Amit Kapila
Reviewed-by: Ashutosh Bapat
Backpatch-through: 15
Discussion: https://postgr.es/m/CAExHW5suAEDW-mBZt_qu4RVxWZ1vL54-L+ci2zreYWebpzxYsA@mail.gmail.com
src/backend/replication/logical/proto.c diff | blob | blame | history
src/backend/replication/logical/worker.c diff | blob | blame | history
src/include/replication/logicalproto.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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