Re: 8.1 vs 8.2.1 view optimization

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Nathan Bell <nathanb(at)actarg(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: 8.1 vs 8.2.1 view optimization
Date: 2007-01-16 21:40:37
Message-ID: 26458.1168983637@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Nathan Bell <nathanb(at)actarg(dot)com> writes:
> Firing up 8.2.1 I notice that sub-items in a view are optimized out if
> they aren't being selected.

You mean "not optimized out", I suppose. Declare your function as
non-volatile if you want the optimizer to assume it's OK to discard.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jorge Godoy 2007-01-16 21:47:28 [1/2 OFF] Varlena.com inaccessible from .br (Blocked?)
Previous Message Tom Lane 2007-01-16 21:32:40 Re: Dynamic loading of Perl Code in Postgres functions