Fix overflow hazard in interval rounding

Поиск
Список
Период
Сортировка
От Joseph Koshakow
Тема Fix overflow hazard in interval rounding
Дата
Msg-id CAAvxfHfpuLgqJYzkUcher466Z1LpmE+5Sm+zc8L6zKCOQ+6TDQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: Fix overflow hazard in interval rounding
Re: Fix overflow hazard in interval rounding
Список pgsql-hackers
Hi all,

Attached is a patch that fixes some overflow/underflow hazards that I
discovered in the interval rounding code.

The lines look a bit long, but I did run the following before committing:
`$ curl https://buildfarm.postgresql.org/cgi-bin/typedefs.pl -o src/tools/pgindent/typedefs.list && src/tools/pgindent/pgindent src/backend/utils/adt/timestamp.c`

Thanks,
Joe Koshakow
Вложения

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