Re: Macros for time magic values

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Macros for time magic values
Дата
Msg-id 1299961743.21000.6.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Macros for time magic values  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: Macros for time magic values  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
On fre, 2011-03-11 at 12:50 -0500, Bruce Momjian wrote:
> It has bothered me that many of our time routines use special magic
> constants for time values, e.g. 24, 12, 60, etc.
> 
> The attached patch changes these magic constants to macros to clarify
> the code.  I would like to apply this for 9.1 as a cleanup.

I think it's much clearer with the plain numbers.



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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: template0 database comment
Следующее
От: Robert Haas
Дата:
Сообщение: Re: template0 database comment