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 17:43:20
Message-ID: 8181.1255974200@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 Sat, 2009-10-17 at 21:41 -0400, Tom Lane wrote:
>> one thing we'd have to consider
>> is whether it is okay to suppress calculation of columns containing
>> volatile functions.

> I think we should have a 4th class of functions,
> volatile-without-side-effects (better name needed, obviously).

What for? There wouldn't be that many, I think. random() and
clock_timestamp(), yeah, but most volatile user-defined functions
are either volatile-with-side-effects or misdeclared.

regards, tom lane

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Kevin Grittner 2009-10-19 17:48:42 Re: Calculation of unused columns
Previous Message Simon Riggs 2009-10-19 17:36:15 Re: Calculation of unused columns