pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
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 11:19:09 -0400
Message-ID: <10661.1059578349@sss.pgh.pa.us> (raw)
In-Reply-To: <3F27988A.9080203@kcp.com>
References: <3F27988A.9080203@kcp.com>

"A. Van Hook" <hook@kcp.com> 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???

Perhaps you want current_date - 1.

			regards, tom lane



view thread (3+ messages)

Message-ID: <10661.1059578349@sss.pgh.pa.us>
Permalink:  ../10661.1059578349@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10661.1059578349@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, hook@kcp.com
  Subject: Re: now 7.2.3 - 7.3.3
  In-Reply-To: <10661.1059578349@sss.pgh.pa.us>

* 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