Lists: | pgsql-docs |
---|
From: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
---|---|
To: | pgsql-docs(at)postgresql(dot)org |
Subject: | DateStyle config variable |
Date: | 2006-12-20 19:59:51 |
Message-ID: | 45899637.5020608@lelarge.info |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-docs |
Hi all,
I wondered if there was a reason for the mixed case capitalization of
the DateStyle setting ? all other settings are in lowercase. Even
DateStyle is in lowercase in the postgresql.conf file.
If there's none, here is a patch (CVS HEAD) to put it in lowercase.
Regards.
--
Guillaume.
<!-- http://abs.traduc.org/
http://lfs.traduc.org/
http://docs.postgresqlfr.org/ -->
From: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
---|---|
To: | pgsql-docs(at)postgresql(dot)org |
Subject: | Re: DateStyle config variable |
Date: | 2006-12-23 09:41:54 |
Message-ID: | 458CF9E2.5070403@lelarge.info |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-docs |
Guillaume Lelarge a écrit :
> I wondered if there was a reason for the mixed case capitalization of
> the DateStyle setting ? all other settings are in lowercase. Even
> DateStyle is in lowercase in the postgresql.conf file.
>
> If there's none, here is a patch (CVS HEAD) to put it in lowercase.
>
Sorry, I forgot to add the patch... :-/
Regards.
--
Guillaume.
<!-- http://abs.traduc.org/
http://lfs.traduc.org/
http://docs.postgresqlfr.org/ -->
Attachment | Content-Type | Size |
---|---|---|
datestyle.patch | text/plain | 5.3 KB |
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Guillaume Lelarge <guillaume(at)lelarge(dot)info> |
Cc: | pgsql-docs(at)postgresql(dot)org |
Subject: | Re: DateStyle config variable |
Date: | 2006-12-23 16:06:15 |
Message-ID: | 12519.1166889975@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-docs |
Guillaume Lelarge <guillaume(at)lelarge(dot)info> writes:
>> I wondered if there was a reason for the mixed case capitalization of
>> the DateStyle setting ? all other settings are in lowercase. Even
>> DateStyle is in lowercase in the postgresql.conf file.
DateStyle and TimeZone have both historically been spelled like that,
and are delivered to client code in that form (not only in SHOW but
in the lower-level ParameterStatus message). I think the odds of
breaking client-side code are very high if we change it.
regards, tom lane