Re: External Open Standards

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: External Open Standards
Дата
Msg-id 10275.1337802108@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: External Open Standards  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: should postgres -C print units?
Следующее
От: Kohei KaiGai
Дата:
Сообщение: Re: [RFC] Interface of Row Level Security