Re: now 7.2.3 - 7.3.3 - Mailing list pgsql-sql

From Peter Eisentraut
Subject Re: now 7.2.3 - 7.3.3
Date
Msg-id Pine.LNX.4.56.0307301241180.1171@krusty.credativ.de
Whole thread Raw
In response to now 7.2.3 - 7.3.3  ("A. Van Hook" <hook@kcp.com>)
List pgsql-sql
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


pgsql-sql by date:

Previous
From: "A. Van Hook"
Date:
Subject: now 7.2.3 - 7.3.3
Next
From: Paul Thomas
Date:
Subject: Re: How can I to solute this problem?