Re: Timestamp, fractional seconds problem

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB SD
Тема Re: Timestamp, fractional seconds problem
Дата
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA41EB3AB@m0114.s-mxs.net
обсуждение исходный текст
Ответ на Timestamp, fractional seconds problem  (Laurette Cisneros <laurette@nextbus.com>)
Список pgsql-hackers
> > ... then trailing zeros are hacked out,
> > two digits at a time.
> 
> I was wondering why it seemed to always want to produce an even number
> of fractional digits.  Why are you doing it 2 at a time and not 1?
> I should think timestamp(1) would produce 1 fractional digit, not
> two digits of which the second is always 0 ...

Yup, same here. I'd also prefer 1 at a time.
If you want compatibility, I would do it only for the first 2 digits.

Andreas


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

Предыдущее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: Problem on AIX with current
Следующее
От: Tatsuo Ishii
Дата:
Сообщение: Re: Problem on AIX with current