X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 06C34D1C976 for ; Wed, 30 Jul 2003 10:33:07 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 48337-10 for ; Wed, 30 Jul 2003 07:32:07 -0300 (ADT) Received: from curie.credativ.org (credativ.com [217.160.209.18]) by svr1.postgresql.org (Postfix) with ESMTP id 27C4DD1C955 for ; Wed, 30 Jul 2003 07:33:05 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by curie.credativ.org (Postfix) with ESMTP id 42EFD55EFA; Wed, 30 Jul 2003 12:32:51 +0200 (CEST) Received: from [172.26.14.239] (p50925BC7.dip.t-dialin.net [80.146.91.199]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by curie.credativ.org (Postfix) with ESMTP id 9C89355EF6; Wed, 30 Jul 2003 12:32:50 +0200 (CEST) Date: Wed, 30 Jul 2003 12:41:55 +0200 (CEST) From: Peter Eisentraut X-X-Sender: peter@krusty.credativ.de To: "A. Van Hook" Cc: pgsql-sql@postgresql.org Subject: Re: now 7.2.3 - 7.3.3 In-Reply-To: <3F27988A.9080203@kcp.com> Message-ID: References: <3F27988A.9080203@kcp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/451 X-Sequence-Number: 14565 A. Van Hook writes: > this worked in 7.2.3 > "select sum(cr) from ar where date(tdate) = now() -1 " > but not in 7.3.3 > What's the proper syntax for 7.3.3??? now() - interval '1 day/minute/year/second/???' -- Peter Eisentraut peter_e@gmx.net