Re: Query Planner Issue - View and regexp_replace?

From: Brandon Kane <brandonk98(at)yahoo(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Query Planner Issue - View and regexp_replace?
Date: 2008-02-18 01:12:19
Message-ID: 981019.27216.qm@web51707.mail.re2.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Yes, this turns out to be a volatile user-defined function. Is there some specific part of the
documentation you can point me to that helps explain why a volatile function might affect the plan
for a column not involved in select or join operations? I happened to pull this function off a
posting somewhere, so after reviewing the volatility keywords, volatile is clearly not required,
so that will be an easy fix. I'm still interested in knowing more about how volatility fits into
the query planner.

Thanks for your help.
-Brandon

--- Tom Lane wrote:

> What's isnumeric(), and is it by any chance marked volatile?
> If so, that's your problem.
>
> regards, tom lane
>

____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2008-02-18 01:35:17 Re: pg_dump, pg_restore and template relationships
Previous Message Mark S 2008-02-18 01:11:39 pg_dump, pg_restore and template relationships