pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Rename port/thread.c to port/user.c.
Date: Sun, 09 Jul 2023 06:17:41 +0000
Message-ID: <E1qINjp-002ccq-8J@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1qINjp-002ccq-8J@gemulon.postgresql.org>
Permalink:  ../E1qINjp-002ccq-8J@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1qINjp-002ccq-8J@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Rename port/thread.c to port/user.c.
  In-Reply-To: <E1qINjp-002ccq-8J@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox