pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Pierre-Frédéric Caillaud <lists@boutiquenumerique.com>
To: pgsql-sql@postgresql.org
Subject: Re: Formatting an Interval
Date: Sun, 02 Jan 2005 18:09:24 +0100
Message-ID: <opsjzi9ylbcq72hf@musicbox> (raw)
In-Reply-To: <20050102163940.GA37196@winnie.fuhr.org>
References: <238e52230412310837183fb730@mail.gmail.com>
	<20041231194118.GA23987@winnie.fuhr.org>
	<1104682763.3610.2.camel@petra>
	<20050102163940.GA37196@winnie.fuhr.org>

Note that there will be a loss of precision as an interval of 1 month, for  
instance, does not mean any specific number of days, as :

1 february + 1 month = 1 march	(1 month = 28 or 29 days)
1 december + 1 month = 1 january	(1 month = 31 days)

Same for years etc.



view thread (7+ messages)  latest in thread

Message-ID: <opsjzi9ylbcq72hf@musicbox>
Permalink:  ../opsjzi9ylbcq72hf@musicbox/
Also on:    postgresql.org/message-id/opsjzi9ylbcq72hf@musicbox

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: lists@boutiquenumerique.com
  Subject: Re: Formatting an Interval
  In-Reply-To: <opsjzi9ylbcq72hf@musicbox>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox