Re: Slow PL/pgSQL 8.0.RC5 (7.4.6. 3times faster)

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Pavel Stehule <stehule(at)kix(dot)fsv(dot)cvut(dot)cz>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Slow PL/pgSQL 8.0.RC5 (7.4.6. 3times faster)
Date: 2005-01-14 01:25:13
Message-ID: 20050114012513.GA75318@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Jan 13, 2005 at 06:25:10PM -0500, Tom Lane wrote:
> Michael Fuhr <mike(at)fuhr(dot)org> writes:
>
> > 6741 ms 7.4.6 (from FreeBSD ports collection)
> > 14427 ms 8.0.0rc5 (from CVS source)
>
> When I add IMMUTABLE to the function definition, I get much closer
> times.

Indeed -- adding IMMUTABLE brought me down to 6859 ms.

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-01-14 01:27:21 Re: Bug? 8.0 does not use partial index
Previous Message Palle Girgensohn 2005-01-14 01:24:31 Re: Bug? 8.0 does not use partial index