Re: STABLE functions - Mailing list pgsql-hackers

From Joachim Wieland
Subject Re: STABLE functions
Date
Msg-id 20030427074617.GA13649@mcknight.de
Whole thread Raw
In response to Re: STABLE functions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

On Sun, Apr 27, 2003 at 12:55:34AM -0400, Tom Lane wrote:
> The point at issue is that the "stable function" classification was
> defined and implemented to provide a semantically valid way of deciding
> whether it's safe to treat an expression as an indexscan qualifier.
> There is no code that attempts to do anything else with it.

Just out of curiosity: What would be an example where you can not treat
a stable function as a constant in a single sql query?


Thanks,
Joachim

-- 
*****PGP key available - send e-mail request*****   -   ICQ: 37225940
"If you want truly to understand something, try to change it"- Kurt Lewin (1890 - 1947)



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: current breakage with PGCLIENTENCODING
Next
From: Sean Chittenden
Date:
Subject: Re: [EXAMPLE] Overly zealous security of schemas...