diff options
Diffstat (limited to 'contrib/cube/expected/cube_2.out')
| -rw-r--r-- | contrib/cube/expected/cube_2.out | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/contrib/cube/expected/cube_2.out b/contrib/cube/expected/cube_2.out index 0c1aba4972..ff6dbc4e5c 100644 --- a/contrib/cube/expected/cube_2.out +++ b/contrib/cube/expected/cube_2.out @@ -627,91 +627,91 @@ SELECT '[(-1,-1,-1),(1,1,1)]'::cube && '[(2,1,1),(2,2,2)]'::cube AS bool; -- "contained in" (the left operand is the cube entirely enclosed by -- the right operand): -- -SELECT '0'::cube ~ '0'::cube AS bool; +SELECT '0'::cube <@ '0'::cube AS bool; bool ------ t (1 row) -SELECT '0,0,0'::cube ~ '0,0,0'::cube AS bool; +SELECT '0,0,0'::cube <@ '0,0,0'::cube AS bool; bool ------ t (1 row) -SELECT '0,0'::cube ~ '0,0,1'::cube AS bool; +SELECT '0,0'::cube <@ '0,0,1'::cube AS bool; bool ------ t (1 row) -SELECT '0,0,0'::cube ~ '0,0,1'::cube AS bool; +SELECT '0,0,0'::cube <@ '0,0,1'::cube AS bool; bool ------ f (1 row) -SELECT '1,0,0'::cube ~ '0,0,1'::cube AS bool; +SELECT '1,0,0'::cube <@ '0,0,1'::cube AS bool; bool ------ f (1 row) -SELECT '(1,0,0),(0,0,1)'::cube ~ '(1,0,0),(0,0,1)'::cube AS bool; +SELECT '(1,0,0),(0,0,1)'::cube <@ '(1,0,0),(0,0,1)'::cube AS bool; bool ------ t (1 row) -SELECT '(1,0,0),(0,0,1)'::cube ~ '(-1,-1,-1),(1,1,1)'::cube AS bool; +SELECT '(1,0,0),(0,0,1)'::cube <@ '(-1,-1,-1),(1,1,1)'::cube AS bool; bool ------ t (1 row) -SELECT '(1,0,0),(0,0,1)'::cube ~ '(-1,-1,-1,-1),(1,1,1,1)'::cube AS bool; +SELECT '(1,0,0),(0,0,1)'::cube <@ '(-1,-1,-1,-1),(1,1,1,1)'::cube AS bool; bool ------ t (1 row) -SELECT '0'::cube ~ '(-1),(1)'::cube AS bool; +SELECT '0'::cube <@ '(-1),(1)'::cube AS bool; bool ------ t (1 row) -SELECT '1'::cube ~ '(-1),(1)'::cube AS bool; +SELECT '1'::cube <@ '(-1),(1)'::cube AS bool; bool ------ t (1 row) -SELECT '-1'::cube ~ '(-1),(1)'::cube AS bool; +SELECT '-1'::cube <@ '(-1),(1)'::cube AS bool; bool ------ t (1 row) -SELECT '(-1),(1)'::cube ~ '(-1),(1)'::cube AS bool; +SELECT '(-1),(1)'::cube <@ '(-1),(1)'::cube AS bool; bool ------ t (1 row) -SELECT '(-1),(1)'::cube ~ '(-1,-1),(1,1)'::cube AS bool; +SELECT '(-1),(1)'::cube <@ '(-1,-1),(1,1)'::cube AS bool; bool ------ t (1 row) -SELECT '(-2),(1)'::cube ~ '(-1),(1)'::cube AS bool; +SELECT '(-2),(1)'::cube <@ '(-1),(1)'::cube AS bool; bool ------ f (1 row) -SELECT '(-2),(1)'::cube ~ '(-1,-1),(1,1)'::cube AS bool; +SELECT '(-2),(1)'::cube <@ '(-1,-1),(1,1)'::cube AS bool; bool ------ f @@ -720,91 +720,91 @@ SELECT '(-2),(1)'::cube ~ '(-1,-1),(1,1)'::cube AS bool; -- "contains" (the left operand is the cube that entirely encloses the -- right operand) -- -SELECT '0'::cube @ '0'::cube AS bool; +SELECT '0'::cube @> '0'::cube AS bool; bool ------ t (1 row) -SELECT '0,0,0'::cube @ '0,0,0'::cube AS bool; +SELECT '0,0,0'::cube @> '0,0,0'::cube AS bool; bool ------ t (1 row) -SELECT '0,0,1'::cube @ '0,0'::cube AS bool; +SELECT '0,0,1'::cube @> '0,0'::cube AS bool; bool ------ t (1 row) -SELECT '0,0,1'::cube @ '0,0,0'::cube AS bool; +SELECT '0,0,1'::cube @> '0,0,0'::cube AS bool; bool ------ f (1 row) -SELECT '0,0,1'::cube @ '1,0,0'::cube AS bool; +SELECT '0,0,1'::cube @> '1,0,0'::cube AS bool; bool ------ f (1 row) -SELECT '(1,0,0),(0,0,1)'::cube @ '(1,0,0),(0,0,1)'::cube AS bool; +SELECT '(1,0,0),(0,0,1)'::cube @> '(1,0,0),(0,0,1)'::cube AS bool; bool ------ t (1 row) -SELECT '(-1,-1,-1),(1,1,1)'::cube @ '(1,0,0),(0,0,1)'::cube AS bool; +SELECT '(-1,-1,-1),(1,1,1)'::cube @> '(1,0,0),(0,0,1)'::cube AS bool; bool ------ t (1 row) -SELECT '(-1,-1,-1,-1),(1,1,1,1)'::cube @ '(1,0,0),(0,0,1)'::cube AS bool; +SELECT '(-1,-1,-1,-1),(1,1,1,1)'::cube @> '(1,0,0),(0,0,1)'::cube AS bool; bool ------ t (1 row) -SELECT '(-1),(1)'::cube @ '0'::cube AS bool; +SELECT '(-1),(1)'::cube @> '0'::cube AS bool; bool ------ t (1 row) -SELECT '(-1),(1)'::cube @ '1'::cube AS bool; +SELECT '(-1),(1)'::cube @> '1'::cube AS bool; bool ------ t (1 row) -SELECT '(-1),(1)'::cube @ '-1'::cube AS bool; +SELECT '(-1),(1)'::cube @> '-1'::cube AS bool; bool ------ t (1 row) -SELECT '(-1),(1)'::cube @ '(-1),(1)'::cube AS bool; +SELECT '(-1),(1)'::cube @> '(-1),(1)'::cube AS bool; bool ------ t (1 row) -SELECT '(-1,-1),(1,1)'::cube @ '(-1),(1)'::cube AS bool; +SELECT '(-1,-1),(1,1)'::cube @> '(-1),(1)'::cube AS bool; bool ------ t (1 row) -SELECT '(-1),(1)'::cube @ '(-2),(1)'::cube AS bool; +SELECT '(-1),(1)'::cube @> '(-2),(1)'::cube AS bool; bool ------ f (1 row) -SELECT '(-1,-1),(1,1)'::cube @ '(-2),(1)'::cube AS bool; +SELECT '(-1,-1),(1,1)'::cube @> '(-2),(1)'::cube AS bool; bool ------ f |
