Re: Proposed patch: make SQL interval-literal syntax work per spec

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: pgsql-hackers(at)postgreSQL(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: Proposed patch: make SQL interval-literal syntax work per spec
Date: 2008-09-11 01:44:11
Message-ID: 48C877EB.8010901@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> (1) In the spec, an interval value or literal must be either
> year-month or day-time. (I guess they didn't want to try to deal with
> the sticky issues of what it means to have an interval of, for
> example, seven months and three days -- since an interval has no sense
> of which seven months.)

Note that, for usability reasons, Karel some time ago try-partitioned
our intervals: year-month|day-week|hour-min-sec.

--Josh

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alex Hunsaker 2008-09-11 03:45:24 Re: hash index improving v3
Previous Message Alvaro Herrera 2008-09-11 01:33:45 Re: Interesting glitch in autovacuum