Re: date comparisons

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: date comparisons
Дата
Msg-id 457EEDB9.8090903@archonet.com
обсуждение исходный текст
Ответ на Re: date comparisons  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: date comparisons  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Tom Lane wrote:
> "Belinda M. Giardine" <giardine@bio.cse.psu.edu> writes:
>> Should it be this way?
>
> Well, to_timestamp() is apparently designed not to complain when the
> input doesn't match the format, which is not my idea of good behavior
> ... but your example is in fact wrong.  'Month' means a 9-character
> field, so you are short a couple of spaces.

The padding is on *input* too? Is this an Oracle compatibility "feature"?

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Ron Johnson
Дата:
Сообщение: Re: Why DISTINCT ... DESC is slow?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: date comparisons