X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 29D6752952 for ; Sun, 24 Apr 2005 17:08:15 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 70307-08 for ; Sun, 24 Apr 2005 20:08:05 +0000 (GMT) Received: from web41010.mail.yahoo.com (web41010.mail.yahoo.com [66.218.93.9]) by svr1.postgresql.org (Postfix) with SMTP id 31104537B3 for ; Sun, 24 Apr 2005 17:08:04 -0300 (ADT) Received: (qmail 49161 invoked by uid 60001); 24 Apr 2005 20:08:05 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=G6UbGmO4j3g63oG9aLsXazgWgRzDu6M1hlR5I/991T5NL55ztF3WdsFXuiCCaBXHwfQstha6U3vgW7De08sLcQ76VnWMQrgQqlo1LDu6nETgeCn78KYXeT7p3PC5+imgcNMY2dW2Y1fK92+tvQJYLUP3IrtPiqsWKgDTLYxtMt8= ; Message-ID: <20050424200805.49157.qmail@web41010.mail.yahoo.com> Received: from [151.204.106.98] by web41010.mail.yahoo.com via HTTP; Sun, 24 Apr 2005 13:08:04 PDT Date: Sun, 24 Apr 2005 13:08:04 -0700 (PDT) From: Theodore Petrosky Subject: to_char(interval) ? To: pgsql-sql@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.256 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE X-Spam-Level: X-Archive-Number: 200504/368 X-Sequence-Number: 21261 how do I get an interval '1 day 1 hour' to display as '25 hours'. I am hunting in the docs (and googling) and either I am blind or I need a special function? Is there an easy way? Ted __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com