Re: Comment for UserMappingPasswordRequired in contrib/postgres_fdw
Andreas Karlsson <andreas@proxel.se>
From: Andreas Karlsson <andreas@proxel.se>
To: Etsuro Fujita <etsuro.fujita@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-02-18T20:30:06Z
Lists: pgsql-hackers
On 2/18/26 9:23 PM, Etsuro Fujita wrote: > I think the former part of the comment should be: Return *false* if > the password_required is defined and false for this user mapping, > otherwise *true*. I feel the wording of the comment is pretty awkward both before and after your correctness fix. I am not a native speaker but shouldn't it be something like the below which explains better what is actually going on. /* * Checks the value of password_required, defaults to true * if not defined. The mapping has been pre-validated. */ Andreas
Commits
-
postgres_fdw: Fix thinko in comment for UserMappingPasswordRequired().
- e72bde9017c0 14.23 landed
- cf370919a996 15.18 landed
- e0fd58a84199 16.14 landed
- 596a400df7a2 17.10 landed
- be37f270d764 18.4 landed
- e7b97a22383a 19 (unreleased) landed