pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use camel case for "DateStyle" in some error messages
Date: Mon, 07 Oct 2024 03:36:30 +0000
Message-ID: <E1sxeXu-002V5Y-CA@gemulon.postgresql.org> (raw)

Use camel case for "DateStyle" in some error messages

This GUC is written as camel-case in most of the documentation and the
GUC table (but not postgresql.conf.sample), and two error messages
hardcoded it with lower case characters.  Let's use a style more
consistent.

Most of the noise comes from the regression tests, updated to reflect
the GUC name in these error messages.

Author: Peter Smith
Reviewed-by: Peter Eisentraut, Álvaro Herrera
Discussion: https://postgr.es/m/CAHut+Pv-kSN8SkxSdoHano_wPubqcg5789ejhCDZAcLFceBR-w@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2e7c4abe5a88a1528236a13c9ef2e351a97fa022

Modified Files
--------------
src/backend/commands/variable.c        |  2 +-
src/backend/utils/adt/datetime.c       |  2 +-
src/test/regress/expected/date.out     | 58 +++++++++++++++++-----------------
src/test/regress/expected/horology.out |  2 +-
4 files changed, 32 insertions(+), 32 deletions(-)



Message-ID: <E1sxeXu-002V5Y-CA@gemulon.postgresql.org>
Permalink:  ../E1sxeXu-002V5Y-CA@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1sxeXu-002V5Y-CA@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: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use camel case for "DateStyle" in some error messages
  In-Reply-To: <E1sxeXu-002V5Y-CA@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