pgsql: Use camel case for "DateStyle" in some error messages

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use camel case for "DateStyle" in some error messages
Date: 2024-10-07 03:36:30
Message-ID: E1sxeXu-002V5Y-CA@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-10-07 06:48:05 pgsql: doc: Add minimal C and SQL example to add a custom table AM hand
Previous Message Tom Lane 2024-10-06 20:04:04 pgsql: Ignore not-yet-defined Portals in pg_cursors view.