Change the error message for logical replication authentication failure.

Amit Kapila <akapila@postgresql.org>

Commit: bc617a7b1cada2ec5f8b9d45a4312e49fc1766ad
Author: Amit Kapila <akapila@postgresql.org>
Date: 2021-02-23T03:41:22Z
Releases: 14.0
Change the error message for logical replication authentication failure.

The authentication failure error message wasn't distinguishing whether
it is a physical replication or logical replication connection failure and
was giving incomplete information on what led to failure in case of logical
replication connection.

Author: Paul Martinez and Amit Kapila
Reviewed-by: Euler Taveira and Amit Kapila
Discussion: https://postgr.es/m/CACqFVBYahrAi2OPdJfUA3YCvn3QMzzxZdw0ibSJ8wouWeDtiyQ@mail.gmail.com

Files

PathChange+/−
doc/src/sgml/client-auth.sgml modified +4 −2
src/backend/libpq/auth.c modified +2 −2

Documentation touched

Discussion