Skip to content

Commit 591d282

Browse files
committed
Remove code handling removed deprecated containment operators
This removes the code that was there for handling the operators removed by 2f70fdb. Discussion: https://www.postgresql.org/message-id/flat/20201027032511.GF9241@telsasoft.com
1 parent 2945a48 commit 591d282

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/backend/access/gist/gistproc.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -907,13 +907,11 @@ gist_box_leaf_consistent(BOX *key, BOX *query, StrategyNumber strategy)
907907
PointerGetDatum(query)));
908908
break;
909909
case RTContainsStrategyNumber:
910-
case RTOldContainsStrategyNumber:
911910
retval = DatumGetBool(DirectFunctionCall2(box_contain,
912911
PointerGetDatum(key),
913912
PointerGetDatum(query)));
914913
break;
915914
case RTContainedByStrategyNumber:
916-
case RTOldContainedByStrategyNumber:
917915
retval = DatumGetBool(DirectFunctionCall2(box_contained,
918916
PointerGetDatum(key),
919917
PointerGetDatum(query)));
@@ -990,13 +988,11 @@ rtree_internal_consistent(BOX *key, BOX *query, StrategyNumber strategy)
990988
break;
991989
case RTSameStrategyNumber:
992990
case RTContainsStrategyNumber:
993-
case RTOldContainsStrategyNumber:
994991
retval = DatumGetBool(DirectFunctionCall2(box_contain,
995992
PointerGetDatum(key),
996993
PointerGetDatum(query)));
997994
break;
998995
case RTContainedByStrategyNumber:
999-
case RTOldContainedByStrategyNumber:
1000996
retval = DatumGetBool(DirectFunctionCall2(box_overlap,
1001997
PointerGetDatum(key),
1002998
PointerGetDatum(query)));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy