Re: DATE type output does not follow datestyle parameter

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: MauMau <maumau307(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: DATE type output does not follow datestyle parameter
Date: 2014-02-12 16:25:31
Message-ID: 20140212162531.GC12551@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Feb 12, 2014 at 10:08:26PM +0900, MauMau wrote:
> From: "Bruce Momjian" <bruce(at)momjian(dot)us>
> >On Mon, Dec 2, 2013 at 10:22:47PM +0900, MauMau wrote:
> >>So, my suggestion is to just add the following sentence right after
> >>the above one.
> >>
> >>The Postgres style is an exception: the output of the date type is
> >>either MM-DD-YYYY (e.g. 12-17-1997) or DD-MM-YYYY (e.g. 17-12-1997),
> >>which is different from the date part of the output of the timestamp
> >>type.
> >>
> >>Could you consider and add this to the manual?
> >
> >Yes, I will make the change unless someone objects.
>
> Could you commit this if you feel okay? I'm sorry if I missed the
> modified article in the devel doc.

OK, attached doc patch applied to head and 9.3. Thanks for the report.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

Attachment Content-Type Size
datestyle.diff text/x-diff 1.1 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-02-12 16:26:56 Re: narwhal and PGDLLIMPORT
Previous Message Andres Freund 2014-02-12 16:10:18 Re: narwhal and PGDLLIMPORT