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