Remove obsolete comment and code from fe-auth.c.

Thomas Munro <tmunro@postgresql.org>

Commit: 1aadc504bf47ade96178b98fe80803f244c1ee28
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2023-07-09T04:05:34Z
Releases: 17.0
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

Files

PathChange+/−
src/interfaces/libpq/fe-auth.c modified +0 −11

Discussion