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

From Christopher Browne
Subject Re: Macros for time magic values
Date
Msg-id AANLkTi=Pi7ckuWSqQGdUCs1+HEkjPFwqkJk-L1SEay4v@mail.gmail.com
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 Fri, Mar 11, 2011 at 12:50 PM, Bruce Momjian <bruce@momjian.us> 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.

The context diffs show off some references to 1901 and 2038...

Here's a *possible* extension to this...
--
http://linuxfinances.info/info/linuxdistributions.html

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Macros for time magic values
Next
From: Bruce Momjian
Date:
Subject: Re: Macros for time magic values