pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use "data directory" not "current directory" in error messages.
Date: Thu, 16 Mar 2023 16:04:29 +0000
Message-ID: <E1pcq5c-003q2H-W6@gemulon.postgresql.org> (raw)

Use "data directory" not "current directory" in error messages.

The user receiving the message might not understand where the
server's "current directory" is.  "Data directory" seems clearer.
(This would not be good for frontend code, but both of these
messages are only issued in the backend.)

Kyotaro Horiguchi

Discussion: https://postgr.es/m/20230316.111646.1564684434328830712.horikyota.ntt@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2333803d84ddabedc5ec5940a180245b4d4dfcca

Modified Files
--------------
contrib/adminpack/adminpack.c            | 2 +-
contrib/adminpack/expected/adminpack.out | 2 +-
src/backend/utils/adt/genfile.c          | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)



Message-ID: <E1pcq5c-003q2H-W6@gemulon.postgresql.org>
Permalink:  ../E1pcq5c-003q2H-W6@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1pcq5c-003q2H-W6@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: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use "data directory" not "current directory" in error messages.
  In-Reply-To: <E1pcq5c-003q2H-W6@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