pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Dilger <pgsql@markdilger.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: [SQL] Interval subtracting
Date: Wed, 01 Mar 2006 15:10:18 -0800
Message-ID: <440629DA.6050504@markdilger.com> (raw)
In-Reply-To: <16750.1141254462@sss.pgh.pa.us>
References: <200603012302.k21N2Hm04879@candle.pha.pa.us>
	<16750.1141254462@sss.pgh.pa.us>

Tom Lane wrote:
> Well, the question is whether justify_days has a sane definition that is
> different from this.  Based on your example, I'm not seeing one.

Backwards compatibility is probably more important than sanity.  Let's just 
deprecate the existing functions and recommend that people use 
justify_interval(...).  By not changing the existing functions we can avoid a 
certain amount of hell.

mark



view thread (62+ messages)  latest in thread

Message-ID: <440629DA.6050504@markdilger.com>
Permalink:  ../440629DA.6050504@markdilger.com/
Also on:    postgresql.org/message-id/440629DA.6050504@markdilger.com

 · 

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: pgsql@markdilger.com, tgl@sss.pgh.pa.us
  Subject: Re: [SQL] Interval subtracting
  In-Reply-To: <440629DA.6050504@markdilger.com>

* 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