| From: | Christopher Browne <cbbrowne(at)gmail(dot)com> |
|---|---|
| To: | Bruce Momjian <bruce(at)momjian(dot)us> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Macros for time magic values |
| Date: | 2011-03-11 17:58:01 |
| Message-ID: | AANLkTi=Pi7ckuWSqQGdUCs1+HEkjPFwqkJk-L1SEay4v@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Fri, Mar 11, 2011 at 12:50 PM, Bruce Momjian <bruce(at)momjian(dot)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 | Content-Type | Size |
|---|---|---|
| 2038.diff | text/x-patch | 550 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2011-03-11 18:09:48 | Re: Macros for time magic values |
| Previous Message | Bruce Momjian | 2011-03-11 17:50:42 | Macros for time magic values |