Re: Re: Interval bug

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: Re: Interval bug
Дата
Msg-id 3A5E729C.AB229740@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: Re: Interval bug  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-bugs
> ... Should we print the "days" +/-
> sign only when it is not the same as the "year" sign?  Seems like the
> way to go.

It isn't quite that easy, but you have the right idea. My new code omits
signs unless there is a negative field value, then all subsequent fields
are signed.

That seems to be less ambiguous. fwiw, the traditional "Postgres format"
never was right in this regard (though internal calculations were done
correctly).

                    - Thomas

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

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Query Problem!!
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: JDBC PreparedStatement.setMaxRows() affects other objects intantiated from this class and it's parent class