Re: [SQL] Interval subtracting

From: Scott Marlowe <smarlowe(at)g2switchworks(dot)com>
To: Hannu Krosing <hannu(at)skype(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [SQL] Interval subtracting
Date: 2006-03-02 16:13:09
Message-ID: 1141315989.18820.56.camel@state.g2switchworks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches pgsql-sql

On Thu, 2006-03-02 at 00:45, Hannu Krosing wrote:
> Ühel kenal päeval, K, 2006-03-01 kell 14:36, kirjutas Scott Marlowe:
>
> > > But it isn't '-2 months, -1 day'. I think what you are saying is what I
> > > am saying, that we should make the signs consistent.
> >
> > Pretty much. It just seems wrong to have different signs in what is
> > essentially a single unit.
> >
> > We don't say 42 degrees, -12 minutes when measuring arc, do we? Then
> > again, maybe some folks do. It just seems wrong to me.
>
> But we do say both "quarter past three" (3 hours 15 min) and "quarter to
> four" (4 hours -15 min) when talking about time.

But the military says 1515 or 1545 or 0315 or 0345, because if they get
the time wrong they shell the wrong place and kill their own soldiers.
I.e. getting it right is important to them. So they use exact
language. I prefer the more exact way.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message George Weaver 2006-03-02 16:31:27 Re: pg_config --pgxs
Previous Message Bruce Momjian 2006-03-02 16:09:04 Re: Automatic free space map filling

Browse pgsql-patches by date

  From Date Subject
Next Message Hannu Krosing 2006-03-02 17:50:11 Re: [SQL] Interval subtracting
Previous Message Tom Lane 2006-03-02 15:05:28 Re: Automatic free space map filling

Browse pgsql-sql by date

  From Date Subject
Next Message Chaz. 2006-03-02 16:19:32 Question about Sql SELECT and optimizer
Previous Message Michael Fuhr 2006-03-02 15:57:52 Re: [SQL] Without OIDs