Rename port/thread.c to port/user.c.
Historically this module dealt with thread-safety of system interfaces,
but now all that's left is wrapper code for user name and home directory
lookup. Arguably the Windows variants of this logic could be moved in
here too, to justify its presence under port. For now, just tidy up
some obsolete references to multi-threading, and give the file a
meaningful 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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/89333db963af20988fc407463ea626b1c41404e8
Modified Files
--------------
configure | 1 -
configure.ac | 1 -
src/bin/psql/nls.mk | 2 +-
src/include/port.h | 2 +-
src/interfaces/libpq/nls.mk | 2 +-
src/port/Makefile | 6 +-----
src/port/meson.build | 2 +-
src/port/{thread.c => user.c} | 13 +++----------
8 files changed, 8 insertions(+), 21 deletions(-)