On 12/20/2013 04:44 PM, Gavin Flower wrote: > On 21/12/13 13:40, Josh Berkus wrote: >> On 12/20/2013 03:09 PM, Gavin Flower wrote: >>> What about leap years? >> What about them? >> > some years have 365 days others have 366, so how any days in an interval > of 2 years?, 4 years?
Your question isn't relevant to this patch. It's not defining the interval type, just creating an alternate constructor for it. (the answer is, it depends on what timestamp you're adding it to ...) -- Josh Berkus PostgreSQL Experts Inc. http://pgexperts.com -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers