Re: Selectivity estimation for intarray with @@ - Mailing list pgsql-hackers

From Teodor Sigaev
Subject Re: Selectivity estimation for intarray with @@
Date
Msg-id 55AE53CF.1050904@sigaev.ru
Whole thread Raw
In response to Re: Selectivity estimation for intarray with @@  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Responses Re: Selectivity estimation for intarray with @@
List pgsql-hackers
Some notices about code:

1 Near function transformOperator() there is wrong operator name "@<"
2 int_query (and intquery) should be replaced to query_int to be consistent with 
actual type name. At least where it's used as separate lexeme.
3 For historical reasons @@ doesn't commutate with itself, it has a commutator 
~~. Patch assumes that @@ is self-commutator, but ~~ will use  'contsel' as a 
restrict estimation. Suppose, we need to declare ~~ as deprecated and introduce 
commutating @@ operator.

-- 
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
  WWW: http://www.sigaev.ru/
 



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: "make check" changes have caused buildfarm deterioration.
Next
From: Petr Jelinek
Date:
Subject: Re: creating extension including dependencies