Re: Macros for time magic values - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Macros for time magic values
Date
Msg-id 1299961743.21000.6.camel@vanquo.pezone.net
Whole thread Raw
In response to Macros for time magic values  (Bruce Momjian <bruce@momjian.us>)
Responses Re: Macros for time magic values
List 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 by date:

Previous
From: Greg Stark
Date:
Subject: Re: template0 database comment
Next
From: Robert Haas
Date:
Subject: Re: template0 database comment