]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix incorrect error code in StartupReplicationOrigin().
authorAmit Kapila <akapila@postgresql.org>
Mon, 30 Aug 2021 04:18:56 +0000 (09:48 +0530)
committerAmit Kapila <akapila@postgresql.org>
Mon, 30 Aug 2021 04:18:56 +0000 (09:48 +0530)
commita8e7eb159c38d33a90574d0409c556c554c5967c
treedde36c0e2502a05c06ef2715df1359750a71b546
parent6ebd2426bda2260fc9bc33555da81dfc8c623f32
Fix incorrect error code in StartupReplicationOrigin().

ERRCODE_CONFIGURATION_LIMIT_EXCEEDED was used for checksum failure, use
ERRCODE_DATA_CORRUPTED instead.

Reported-by: Tatsuhito Kasahara
Author: Tatsuhito Kasahara
Backpatch-through: 9.6, where it was introduced
Discussion: https://postgr.es/m/CAP0=ZVLHtYffs8SOWcFJWrBGoRzT9QQbk+_aP+E5AHLNXiOorA@mail.gmail.com
src/backend/replication/logical/origin.c