Re: "Day" from 8am to 3am

From: Judd Maltin <judd(at)maltin(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: "Day" from 8am to 3am
Date: 2001-06-06 15:17:27
Message-ID: Pine.LNX.4.21.0106061016310.22339-100000@kislev.maltin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Wed, 6 Jun 2001, Tom Lane wrote:

> Judd Maltin <judd(at)maltin(dot)org> writes:
> > I have a special application that considers a playday to be from 8am to
> > 3pm the next morning. The system then does maintenance from 3am till 8am
> > (if necessary).
>
> 8am is in the eye of the beholder. Why not run the system in a timezone
> selected such that a playday starts at local midnight?
>
> regards, tom lane

Isn't changing the system for the application breaking a cardinal rule of
systems design?

I need the real time of day anyway.. I just want to make SELECTs easier.

-judd

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Dawn 2001-06-06 15:23:21 multiple sql update w/ major time issues
Previous Message Markus Wagner 2001-06-06 15:15:20 audit trail and system catalogs