Re: Bad plan when join on function - Mailing list pgsql-performance

From Tom Lane
Subject Re: Bad plan when join on function
Date
Msg-id 21547.1295300024@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bad plan when join on function  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: Bad plan when join on function
List pgsql-performance
Pavel Stehule <pavel.stehule@gmail.com> writes:
> it should to work without functional index - but not sure about effectivity

As long as the function is VOLATILE, the planner can't use any
intelligent query plan.  Merge or hash join both require at least
stable join keys.

            regards, tom lane

pgsql-performance by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: Bad plan when join on function
Next
From: Pavel Stehule
Date:
Subject: Re: Bad plan when join on function