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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use "data directory" not "current directory" in error messages.
Date: 2023-03-16 16:04:29
Message-ID: E1pcq5c-003q2H-W6@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2023-03-16 17:01:32 pgsql: Silence pedantic compiler warning introduced in ce340e530d1
Previous Message Peter Eisentraut 2023-03-16 15:13:26 pgsql: Integrate superuser check into has_rolreplication()