@@ -881,11 +881,12 @@ SELECT earth_box(ll_to_earth(90,180),
881
881
--
882
882
-- Test the recommended constraints.
883
883
--
884
- SELECT is_point(ll_to_earth(0,0));
885
- ERROR: function is_point(earth) does not exist
886
- LINE 1: SELECT is_point(ll_to_earth(0,0));
887
- ^
888
- HINT: No function matches the given name and argument types. You might need to add explicit type casts.
884
+ SELECT cube_is_point(ll_to_earth(0,0));
885
+ cube_is_point
886
+ ---------------
887
+ t
888
+ (1 row)
889
+
889
890
SELECT cube_dim(ll_to_earth(0,0)) <= 3;
890
891
?column?
891
892
----------
@@ -899,11 +900,12 @@ SELECT abs(cube_distance(ll_to_earth(0,0), '(0)'::cube) / earth() - 1) <
899
900
t
900
901
(1 row)
901
902
902
- SELECT is_point(ll_to_earth(30,60));
903
- ERROR: function is_point(earth) does not exist
904
- LINE 1: SELECT is_point(ll_to_earth(30,60));
905
- ^
906
- HINT: No function matches the given name and argument types. You might need to add explicit type casts.
903
+ SELECT cube_is_point(ll_to_earth(30,60));
904
+ cube_is_point
905
+ ---------------
906
+ t
907
+ (1 row)
908
+
907
909
SELECT cube_dim(ll_to_earth(30,60)) <= 3;
908
910
?column?
909
911
----------
@@ -917,11 +919,12 @@ SELECT abs(cube_distance(ll_to_earth(30,60), '(0)'::cube) / earth() - 1) <
917
919
t
918
920
(1 row)
919
921
920
- SELECT is_point(ll_to_earth(60,90));
921
- ERROR: function is_point(earth) does not exist
922
- LINE 1: SELECT is_point(ll_to_earth(60,90));
923
- ^
924
- HINT: No function matches the given name and argument types. You might need to add explicit type casts.
922
+ SELECT cube_is_point(ll_to_earth(60,90));
923
+ cube_is_point
924
+ ---------------
925
+ t
926
+ (1 row)
927
+
925
928
SELECT cube_dim(ll_to_earth(60,90)) <= 3;
926
929
?column?
927
930
----------
@@ -935,11 +938,12 @@ SELECT abs(cube_distance(ll_to_earth(60,90), '(0)'::cube) / earth() - 1) <
935
938
t
936
939
(1 row)
937
940
938
- SELECT is_point(ll_to_earth(-30,-90));
939
- ERROR: function is_point(earth) does not exist
940
- LINE 1: SELECT is_point(ll_to_earth(-30,-90));
941
- ^
942
- HINT: No function matches the given name and argument types. You might need to add explicit type casts.
941
+ SELECT cube_is_point(ll_to_earth(-30,-90));
942
+ cube_is_point
943
+ ---------------
944
+ t
945
+ (1 row)
946
+
943
947
SELECT cube_dim(ll_to_earth(-30,-90)) <= 3;
944
948
?column?
945
949
----------
0 commit comments