Bruce Momjian <pgman@candle.pha.pa.us> writes: > > > BTW, if you actually wanted to improve readability, defining a > > > SECS_PER_YEAR value and replacing the various occurrences of > > > "36525 * 864" with it would help. > > > > > IIRC the number of seconds in a year is far from a constant. > > Yes, I added a comment mentioning that we don't track leap seconds. > And this doesn't handle crossing uneven daylight savings time intervals.
It doesn't even represent leap years, never mind leap seconds. -- greg ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend