Rename port/thread.c to port/user.c.

Thomas Munro <tmunro@postgresql.org>

Commit: 89333db963af20988fc407463ea626b1c41404e8
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2023-07-09T06:17:09Z
Releases: 17.0
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

Files

PathChange+/−
configure modified +0 −1
configure.ac modified +0 −1
src/bin/psql/nls.mk modified +1 −1
src/include/port.h modified +1 −1
src/interfaces/libpq/nls.mk modified +1 −1
src/port/Makefile modified +1 −5
src/port/meson.build modified +1 −1
src/port/user.c (from src/port/thread.c) renamed +3 −10

Discussion