Re: Static functions

From: "Gurjeet Singh" <singh(dot)gurjeet(at)gmail(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Joseph S" <jks(at)selectacast(dot)net>, pgsql-general(at)postgresql(dot)org
Subject: Re: Static functions
Date: 2008-10-04 00:51:39
Message-ID: 65937bea0810031751o66704a35p5444e0322084539c@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Oct 4, 2008 at 1:36 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Joseph S <jks(at)selectacast(dot)net> writes:
> > Aren't static functions supposed to executed only once per transaction?
>
> There's no promise of that.
>

Can this be changed? Or does it work only in simpler queries, based on some
result-caching criteria?

Shouldn't PG make all efforts to not execute something when the result is
already known?

--
gurjeet[(dot)singh](at)EnterpriseDB(dot)com
singh(dot)gurjeet(at){ gmail | hotmail | indiatimes | yahoo }.com

EnterpriseDB http://www.enterprisedb.com

Mail sent from my BlackLaptop device

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Martin Gainty 2008-10-04 00:53:59 Re: Standalone Windows Installation
Previous Message Gurjeet Singh 2008-10-04 00:46:18 Re: failed to install posgrest