Re: Calculation of unused columns

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndQuadrant(dot)com>
Cc: Volker Grabsch <vog(at)notjusthosting(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Calculation of unused columns
Date: 2009-10-19 18:23:45
Message-ID: 9127.1255976625@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Simon Riggs <simon(at)2ndQuadrant(dot)com> writes:
> On Mon, 2009-10-19 at 13:58 -0400, Tom Lane wrote:
>> Most read-only functions are stable or even immutable.

> Huh? I mean a function that only contains SELECTs. (How would those ever
> be Stable or Immutable??)

Uh, a function containing SELECTs is exactly the use-case for STABLE.
Maybe you need to go re-read the definitions?

regards, tom lane

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Robert Haas 2009-10-19 19:10:56 Re: Partitioned Tables and ORDER BY
Previous Message Simon Riggs 2009-10-19 18:09:27 Re: Calculation of unused columns