Re: Overriding the optimizer

From: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
To: "Craig A(dot) James" <cjames(at)modgraph-usa(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: Overriding the optimizer
Date: 2005-12-16 01:50:44
Message-ID: 43A21D74.8030002@familyhealth.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

> select * from my_table where row_num >= 50000 and row_num < 100000
> and myfunc(foo, bar);

You just create an index on myfunc(foo, bar)

Chris

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Jaime Casanova 2005-12-16 02:00:44 Re: Overriding the optimizer
Previous Message Tom Lane 2005-12-16 00:23:49 Re: Overriding the optimizer