mirror of
https://github.com/postgres/postgres.git
synced 2025-10-27 00:12:01 +03:00
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
This commit is contained in:
@@ -182,7 +182,7 @@ check_datestyle(char **newval, void **extra, GucSource source)
|
||||
|
||||
if (!ok)
|
||||
{
|
||||
GUC_check_errdetail("Conflicting \"datestyle\" specifications.");
|
||||
GUC_check_errdetail("Conflicting \"DateStyle\" specifications.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user