Re: Index not being used

From: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Stephan Szabo" <sszabo(at)megazone23(dot)bigpanda(dot)com>
Cc: "Josh Berkus" <josh(at)agliodbs(dot)com>, "Matthew Price" <pricem(at)juno(dot)com>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Index not being used
Date: 2002-02-15 01:23:00
Message-ID: GNELIHDDFBOCMGBFGEFOOEGJCBAA.chriskl@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> More to the point, it's not considered a constant.

Why? Shouldn't it be constant for the duration of a transaction?

> You could write
> WHERE cdate = date 'now'
> instead.

Chris

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-02-15 01:24:48 Re: [SQL] Front and Back End
Previous Message Christopher Kings-Lynne 2002-02-15 01:04:44 Re: trigger on table