Re: Overriding the optimizer - Mailing list pgsql-performance

From Christopher Kings-Lynne
Subject Re: Overriding the optimizer
Date
Msg-id 43A21D74.8030002@familyhealth.com.au
Whole thread Raw
In response to Overriding the optimizer  ("Craig A. James" <cjames@modgraph-usa.com>)
Responses Re: Overriding the optimizer
Re: Overriding the optimizer
List 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


pgsql-performance by date:

Previous
From: Tom Lane
Date:
Subject: Re: Overriding the optimizer
Next
From: Jaime Casanova
Date:
Subject: Re: Overriding the optimizer