patrick ~ wrote:
Hi John,

Thanks for your reply and analysis.

--- John Meinel <[EMAIL PROTECTED]> wrote:

patrick ~ wrote:

pkk=# explain analyze execute pkk_01(    241 );

One other thing that I just thought of. I think it is actually possible to add an index on a function of a column. So if you have the "is_really_pending" function, you might be able to do:

CREATE INDEX pkk_is_really_pending ON pkk_purchase

But you need a better guru than I to make sure of that.

This *might* do what you need.


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to