Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-performance by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group