Re: PL/pgSQL functions - text / varchar - havy performance - Mailing list pgsql-performance

From Andrew Sullivan
Subject Re: PL/pgSQL functions - text / varchar - havy performance
Date
Msg-id 20030829155401.GM19388@libertyrms.info
Whole thread Raw
In response to Re: PL/pgSQL functions - text / varchar - havy performance  (Bill Moran <wmoran@potentialtech.com>)
Responses Re: PL/pgSQL functions - text / varchar - havy performance  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
On Fri, Aug 29, 2003 at 11:34:13AM -0400, Bill Moran wrote:
> Have any explanation as to why that function is so slow?

Sorry, no.  It might have to do with the planning, though.  I believe
the funciton is planned the first time it is run.  It may need to be
marked as "STABLE" in order to use any indexes, and that could be
part of the problem.

A

--
----
Andrew Sullivan                         204-4141 Yonge Street
Liberty RMS                           Toronto, Ontario Canada
<andrew@libertyrms.info>                              M2P 2A8
                                         +1 416 646 3304 x110


pgsql-performance by date:

Previous
From: Bill Moran
Date:
Subject: Re: PL/pgSQL functions - text / varchar - havy performance
Next
From: Ken Geis
Date:
Subject: Re: bad estimates