mirror of
https://github.com/postgres/postgres.git
synced 2026-04-08 10:38:53 -04:00
postgres_fdw: Fix thinko in comment for UserMappingPasswordRequired().
This commit also rephrases this comment to improve readability.
Oversight in commit 6136e94dc.
Reported-by: Etsuro Fujita <etsuro.fujita@gmail.com>
Author: Andreas Karlsson <andreas@proxel.se>
Co-authored-by: Etsuro Fujita <etsuro.fujita@gmail.com>
Discussion: https://postgr.es/m/CAPmGK16pDnM_wU3kmquPj-M9MYqG3y0BdntRZ0eytqbCaFY3WQ%40mail.gmail.com
Backpatch-through: 14
This commit is contained in:
parent
3ed2c7ef7a
commit
e0fd58a841
1 changed files with 3 additions and 2 deletions
|
|
@ -574,8 +574,9 @@ disconnect_pg_server(ConnCacheEntry *entry)
|
|||
}
|
||||
|
||||
/*
|
||||
* Return true if the password_required is defined and false for this user
|
||||
* mapping, otherwise false. The mapping has been pre-validated.
|
||||
* Check and return the value of password_required, if defined; otherwise,
|
||||
* return true, which is the default value of it. The mapping has been
|
||||
* pre-validated.
|
||||
*/
|
||||
static bool
|
||||
UserMappingPasswordRequired(UserMapping *user)
|
||||
|
|
|
|||
Loading…
Reference in a new issue