Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 091009FB261; Mon, 9 Oct 2006 19:07:43 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 54292-02; Mon, 9 Oct 2006 19:07:38 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from davinci.ethosmedia.com (server227.ethosmedia.com [209.128.84.227]) by postgresql.org (Postfix) with ESMTP id 1EAE79FA3E9; Mon, 9 Oct 2006 19:07:37 -0300 (ADT) X-EthosMedia-Virus-Scanned: no infections found Received: from [64.81.245.111] (account josh@agliodbs.com HELO [192.168.1.27]) by davinci.ethosmedia.com (CommuniGate Pro SMTP 4.1.8) with ESMTP id 10290927; Mon, 09 Oct 2006 15:11:11 -0700 From: Josh Berkus Reply-To: josh@agliodbs.com Organization: Aglio Database Solutions To: pgsql-hackers@postgresql.org Subject: Re: [HACKERS] timestamp subtraction (was Re: formatting intervals with to_char) Date: Mon, 9 Oct 2006 15:09:00 -0700 User-Agent: KMail/1.8 Cc: "Jim C. Nasby" , Aaron Bono , Jim Nasby , Tom Lane , gdavis@refractions.net, pgsql-sql@postgresql.org References: <4522EC42.1080500@refractions.net> <20061009215459.GT72517@nasby.net> In-Reply-To: <20061009215459.GT72517@nasby.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200610091509.01523.josh@agliodbs.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.045 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200610/98 X-Sequence-Number: 26487 Jim, > I agree in general, except most languages have terrible support for > time/date data, so I can see a much bigger case for the database being > able to do it (and it's not like we'll be removing justify_*). Be that > as it may, there are probably apps out there that will break if this is > just changed. Many. -- --Josh Josh Berkus PostgreSQL @ Sun San Francisco