diff options
author | Amit Kapila <akapila@postgresql.org> | 2021-02-23 09:11:22 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2021-02-23 09:11:22 +0530 |
commit | bc617a7b1cada2ec5f8b9d45a4312e49fc1766ad (patch) | |
tree | 8af376792abb156d1f60c0b00a982a416385f2e3 /doc/src | |
parent | 0f5505a8815aa4eb03ca61245a5a51ff9adda2f4 (diff) | |
download | postgresql-bc617a7b1cada2ec5f8b9d45a4312e49fc1766ad.tar.gz postgresql-bc617a7b1cada2ec5f8b9d45a4312e49fc1766ad.zip |
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
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/client-auth.sgml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/src/sgml/client-auth.sgml b/doc/src/sgml/client-auth.sgml index c4b9971a206..b420486a0af 100644 --- a/doc/src/sgml/client-auth.sgml +++ b/doc/src/sgml/client-auth.sgml @@ -229,8 +229,10 @@ hostnogssenc <replaceable>database</replaceable> <replaceable>user</replaceabl members of the role, directly or indirectly, and not just by virtue of being a superuser. The value <literal>replication</literal> specifies that the record - matches if a physical replication connection is requested (note that - replication connections do not specify any particular database). + matches if a physical replication connection is requested, however, it + doesn't match with logical replication connections. Note that physical + replication connections do not specify any particular database whereas + logical replication connections do specify it. Otherwise, this is the name of a specific <productname>PostgreSQL</productname> database. Multiple database names can be supplied by separating them with |