Remove obsolete comment and code from fe-auth.c.
authorThomas Munro <tmunro@postgresql.org>
Sun, 9 Jul 2023 03:52:28 +0000 (15:52 +1200)
committerThomas Munro <tmunro@postgresql.org>
Sun, 9 Jul 2023 04:05:34 +0000 (16:05 +1200)
commit1aadc504bf47ade96178b98fe80803f244c1ee28
tree76d720d3f9b4df21217f63e8c23ca962498a62f9
parent8d9a9f034e925568342c7ccfd8d351a3cd20e7f3
Remove obsolete comment and code from fe-auth.c.

We don't use getpwuid() anymore (see commit e757cdd6), so we don't need
locking around pg_get_user_name().

Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://postgr.es/m/CA%2BhUKGLtmexrpMtxBRLCVePqV_dtWG-ZsEbyPrYc%2BNBB2TkNsw%40mail.gmail.com
src/interfaces/libpq/fe-auth.c