Rename port/thread.c to port/user.c.
authorThomas Munro <tmunro@postgresql.org>
Sun, 9 Jul 2023 06:12:28 +0000 (18:12 +1200)
committerThomas Munro <tmunro@postgresql.org>
Sun, 9 Jul 2023 06:17:09 +0000 (18:17 +1200)
commit89333db963af20988fc407463ea626b1c41404e8
tree7ace29b3d93e982380b42cac142f6ad7f4f23f1b
parentc23e7ea4d6a44cd0f6948d362a8477f14a3f849c
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
configure
configure.ac
src/bin/psql/nls.mk
src/include/port.h
src/interfaces/libpq/nls.mk
src/port/Makefile
src/port/meson.build
src/port/user.c [moved from src/port/thread.c with 88% similarity]