Re: how much volatile is a function - Mailing list pgsql-general

From Sergey Konoplev
Subject Re: how much volatile is a function
Date
Msg-id CAL_0b1sbQJFZk2OGo5zNu9b1SFKoD1PiuGuN0mbLhGcjayooGQ@mail.gmail.com
Whole thread Raw
In response to how much volatile is a function  ("Anibal David Acosta" <aa@devshock.com>)
Responses Re: how much volatile is a function  (Sergey Konoplev <sergey.konoplev@postgresql-consulting.com>)
List pgsql-general
On Thu, Jul 12, 2012 at 10:38 PM, Anibal David Acosta <aa@devshock.com> wrote:
> Does postgres re run the query on each function call, or has some kind of
> “flag” indicating that table as not been changed and return cached result of
> a previous call if the call has same parameters?

It does re-run it on each call.

--
Sergey Konoplev

a database architect, software developer at PostgreSQL-Consulting.com
http://www.postgresql-consulting.com

Jabber: gray.ru@gmail.com Skype: gray-hemp Phone: +79160686204

pgsql-general by date:

Previous
From: "David Johnston"
Date:
Subject: Re: how much volatile is a function
Next
From: Sergey Konoplev
Date:
Subject: Re: how much volatile is a function