Re: avoid select expens_expr(col) like unneccessary calculations - Mailing list pgsql-sql

From scott.marlowe
Subject Re: avoid select expens_expr(col) like unneccessary calculations
Date
Msg-id Pine.LNX.4.33.0307071655260.5244-100000@css120.ihs.com
Whole thread Raw
In response to avoid select expens_expr(col) like unneccessary calculations  (Markus Bertheau <twanger@bluetwanger.de>)
List pgsql-sql
On 8 Jul 2003, Markus Bertheau wrote:

> Hi,
> 
> when you have
> select expensive_expression(column), * from table offset 20 limit 40
> 
> can you somehow save the cost for the first 20 calculations of
> expensive_expression?

Might a functional or partial index work here?  



pgsql-sql by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: avoid select expens_expr(col) like unneccessary calculations
Next
From: Christoph Haller
Date:
Subject: Re: columnar format