Re: ISO 8601 "Time Intervals" of the "format with time-unit deignators"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: ISO 8601 "Time Intervals" of the "format with time-unit deignators"
Дата
Msg-id 21793.1063081188@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: ISO 8601 "Time Intervals" of the "format with time-unit deignators"  ("Ron Mayer" <ron@intervideo.com>)
Список pgsql-patches
[ backtracking a little ]

"Ron Mayer" <ron@intervideo.com> writes:
> Tom wrote:
>> I doubt anyone is using it, because it's completely undocumented.
>> If we're going to support the real ISO spec, I'd suggest ripping
>> out any not-quite-there variant.

> I'm happy to look into it.  Rip out completely?  Ifdef?

"Rip" was what I had in mind --- the idea is to simplify the code,
which you will surely agree is too complicated as it stands.  ifdefs
won't simplify the code or make it more understandable, rather the
reverse.

I have no problem with complex code when it's needed, but in this case
the ptype implementation of almost-ISO notation seems to me to affect
much more of the code than it has any right to on a usefulness basis.

            regards, tom lane

В списке pgsql-patches по дате отправления:

Предыдущее
От: "Ron Mayer"
Дата:
Сообщение: Re: ISO 8601 'Time Intervals' of the 'format with time-unit deignators'
Следующее
От: Manfred Koizar
Дата:
Сообщение: Re: Minor lmgr code cleanup