pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: A. Van Hook <hook@kcp.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: now 7.2.3  - 7.3.3
Date: Wed, 30 Jul 2003 12:41:55 +0200 (CEST)
Message-ID: <Pine.LNX.4.56.0307301241180.1171@krusty.credativ.de> (raw)
In-Reply-To: <3F27988A.9080203@kcp.com>
References: <3F27988A.9080203@kcp.com>

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



view thread (3+ messages)  latest in thread

Message-ID: <Pine.LNX.4.56.0307301241180.1171@krusty.credativ.de>
Permalink:  ../Pine.LNX.4.56.0307301241180.1171@krusty.credativ.de/
Also on:    postgresql.org/message-id/Pine.LNX.4.56.0307301241180.1171@krusty.credativ.de

 · 

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: peter_e@gmx.net, hook@kcp.com
  Subject: Re: now 7.2.3  - 7.3.3
  In-Reply-To: <Pine.LNX.4.56.0307301241180.1171@krusty.credativ.de>

* 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