Use camel case for "DateStyle" in some error messages
authorMichael Paquier <michael@paquier.xyz>
Mon, 7 Oct 2024 03:36:00 +0000 (12:36 +0900)
committerMichael Paquier <michael@paquier.xyz>
Mon, 7 Oct 2024 03:36:00 +0000 (12:36 +0900)
commit2e7c4abe5a88a1528236a13c9ef2e351a97fa022
treeaf4ac29071ff067a497da6a1a7c4b4951c7951b6
parentf8d9a9f21e2fec4f67af7b430b981b6e6e7a0906
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
src/backend/commands/variable.c
src/backend/utils/adt/datetime.c
src/test/regress/expected/date.out
src/test/regress/expected/horology.out