These entries could never be matched to an index clause because they don't
have the index datatype on the left-hand side of the operator. (Their
commutators are in the opclass, which is sensible, but that doesn't mean
these operators should be.) Spotted by a test that I recently added to
opr_sanity to catch exactly this type of thinko. AFAICT there is no code
in gistproc.c that is specifically meant to cover these cases, so nothing
to remove at that level.
*/
/* yyyymmddN */
-#define CATALOG_VERSION_NO 201112171
+#define CATALOG_VERSION_NO 201112172
#endif
DATA(insert ( 1029 600 600 10 s 509 783 0 ));
DATA(insert ( 1029 600 600 6 s 510 783 0 ));
DATA(insert ( 1029 600 600 15 o 517 783 1970 ));
-DATA(insert ( 1029 603 600 27 s 433 783 0 ));
DATA(insert ( 1029 600 603 28 s 511 783 0 ));
-DATA(insert ( 1029 604 600 47 s 757 783 0 ));
DATA(insert ( 1029 600 604 48 s 756 783 0 ));
-DATA(insert ( 1029 718 600 67 s 759 783 0 ));
DATA(insert ( 1029 600 718 68 s 758 783 0 ));
783 | 15 | <->
783 | 16 | @>
783 | 18 | =
- 783 | 27 | @>
783 | 28 | <@
- 783 | 47 | @>
783 | 48 | <@
- 783 | 67 | @>
783 | 68 | <@
2742 | 1 | &&
2742 | 1 | @@
4000 | 12 | <=
4000 | 14 | >=
4000 | 15 | >
-(58 rows)
+(55 rows)
-- Check that all opclass search operators have selectivity estimators.
-- This is not absolutely required, but it seems a reasonable thing
AND binary_coercible(p2.opcintype, p1.amoplefttype));
amopfamily | amopstrategy | amopopr
------------+--------------+---------
- 1029 | 27 | 433
- 1029 | 47 | 757
- 1029 | 67 | 759
-(3 rows)
+(0 rows)
-- Operators that are primary members of opclasses must be immutable (else
-- it suggests that the index ordering isn't fixed). Operators that are