Re: Index not being used - Mailing list pgsql-sql

From Christopher Kings-Lynne
Subject Re: Index not being used
Date
Msg-id GNELIHDDFBOCMGBFGEFOOEGJCBAA.chriskl@familyhealth.com.au
Whole thread Raw
In response to Re: Index not being used  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Index not being used
List 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



pgsql-sql by date:

Previous
From: "Christopher Kings-Lynne"
Date:
Subject: Re: trigger on table
Next
From: "Christopher Kings-Lynne"
Date:
Subject: Docs for all the schema functions