1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Tweak some SCRAM error messages and code comments

Clarify/correct some error messages, fix up some code comments that
confused SASL and SCRAM, and other minor fixes.  No changes in
functionality.
This commit is contained in:
Peter Eisentraut
2017-08-23 12:01:43 -04:00
parent 5e87f7b1d7
commit 8bf9469469
3 changed files with 22 additions and 22 deletions

View File

@ -1405,13 +1405,13 @@ ErrorMessage.
</para>
<para>
When SCRAM-SHA-256 is used in PostgreSQL, the server will ignore the username
that the client sends in the <structname>client-first-message</>. The username
When SCRAM-SHA-256 is used in PostgreSQL, the server will ignore the user name
that the client sends in the <structname>client-first-message</>. The user name
that was already sent in the startup message is used instead.
<productname>PostgreSQL</> supports multiple character encodings, while SCRAM
dictates UTF-8 to be used for the username, so it might be impossible to
represent the PostgreSQL username in UTF-8. To avoid confusion, the client
should use <literal>pg_same_as_startup_message</literal> as the username in the
dictates UTF-8 to be used for the user name, so it might be impossible to
represent the PostgreSQL user name in UTF-8. To avoid confusion, the client
should use <literal>pg_same_as_startup_message</literal> as the user name in the
<structname>client-first-message</>.
</para>
@ -5274,7 +5274,7 @@ RowDescription (B)
<varlistentry>
<term>
SASLInitialresponse (F)
SASLInitialResponse (F)
</term>
<listitem>
<para>