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

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rename port/thread.c to port/user.c.
Date: 2023-07-09 06:17:41
Message-ID: E1qINjp-002ccq-8J@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)anarazel(dot)de>
Reviewed-by: Peter Eisentraut <peter(at)eisentraut(dot)org>
Reviewed-by: Heikki Linnakangas <hlinnaka(at)iki(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2023-07-09 06:57:21 pgsql: Remove unnecessary unbind in LDAP search+bind mode
Previous Message David Rowley 2023-07-09 04:16:07 pgsql: Doc: update old reference to "result cache"