Re: current_date vs 'now'

From: Jamie Tufnell <diesql(at)googlemail(dot)com>
To: pgsql-sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: current_date vs 'now'
Date: 2009-02-05 23:21:38
Message-ID: b0a4f3350902051521x3c569045wa586f8e8fea883c2@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On 2/6/09, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> As the view definition printout suggests, tomorrow this view will produce
>
> 2009-02-06 | 2009-02-05
>
> because the constant isn't going to change.

Thanks for that explanation Tom. Very clear and helpful.

Jamie

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Raj Mathur 2009-02-06 03:34:01 Re: Array iterator
Previous Message Michael B Allen 2009-02-05 21:57:36 Must I use DISTINCT?