Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: GiST KNN Crasher - Mailing list pgsql-hackers

From Tom Lane
Subject Re: GiST KNN Crasher
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: GiST KNN Crasher  (Heikki Linnakangas <[email protected]>)
Responses Re: GiST KNN Crasher
List pgsql-hackers
Heikki Linnakangas <[email protected]> writes:
> The find_ec_member_for_expr() call in create_indexscan_plan() fails to 
> find the equivalence member for the path key. 
> match_clause_to_ordering_op() found the match by commuting the operator, 
> but code in create_indexscan_plan() doesn't take that into account.

Right.

> I think that trying to find the equivalence member in 
> create_index_scan() is too fragile.

I agree; will contemplate how to do this better.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Fix misaligned access of ItemPointerData on ARM
Next
From: Andrew Dunstan
Date:
Subject: Re: jsonb concatenate operator's semantics seem questionable