Re: External Open Standards - Mailing list pgsql-hackers

From Tom Lane
Subject Re: External Open Standards
Date
Msg-id 10275.1337802108@sss.pgh.pa.us
Whole thread Raw
In response to Re: External Open Standards  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On mån, 2012-05-21 at 15:34 +1000, Brendan Jurd wrote:
>> I'd be okay with just adding a note in the manual under Date/Time
>> Output to the effect of "Note: ISO 8601 specifies the use of uppercase
>> letter 'T' to separate the date and time. Postgres uses a space for
>> improved readability, in line with other database systems and RFC
>> 3339."

> But that is wrong.  We use the space because SQL says so.  The reason we
> have all those other formats is for readability or consistency or some
> secondary standard.  But the format of the ISO format is exactly what
> the SQL standard says, without any other considerations.

Well, in that case we really need to rewrite the text to not look like
it's citing 8601 as the primary reference.  We could replace the <note>
I added with something to the effect that the SQL standard matches 8601
except for not using 'T'.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: should postgres -C print units?
Next
From: Kohei KaiGai
Date:
Subject: Re: [RFC] Interface of Row Level Security