From 684ad6a92fcc33adebdab65c4e7d72a68ba05408 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sun, 10 Sep 2006 17:36:52 +0000 Subject: Rename contrib contains/contained-by operators to @> and <@, per discussion. --- contrib/cube/cube.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'contrib/cube/cube.c') diff --git a/contrib/cube/cube.c b/contrib/cube/cube.c index a4472ee20e7..16ba5340fbf 100644 --- a/contrib/cube/cube.c +++ b/contrib/cube/cube.c @@ -1,5 +1,5 @@ /****************************************************************************** - $PostgreSQL: pgsql/contrib/cube/cube.c,v 1.28 2006/07/27 21:55:09 tgl Exp $ + $PostgreSQL: pgsql/contrib/cube/cube.c,v 1.29 2006/09/10 17:36:50 tgl Exp $ This file contains routines that can be bound to a Postgres backend and called by the backend in the process of processing queries. The calling @@ -689,9 +689,11 @@ g_cube_leaf_consistent(NDBOX * key, retval = (bool) (cube_cmp_v0(key, query) == 0); break; case RTContainsStrategyNumber: + case RTOldContainsStrategyNumber: retval = (bool) cube_contains_v0(key, query); break; case RTContainedByStrategyNumber: + case RTOldContainedByStrategyNumber: retval = (bool) cube_contains_v0(query, key); break; default: @@ -717,9 +719,11 @@ g_cube_internal_consistent(NDBOX * key, break; case RTSameStrategyNumber: case RTContainsStrategyNumber: + case RTOldContainsStrategyNumber: retval = (bool) cube_contains_v0(key, query); break; case RTContainedByStrategyNumber: + case RTOldContainedByStrategyNumber: retval = (bool) cube_overlap_v0(key, query); break; default: -- cgit v1.2.3