We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95f6217 commit 8255a75Copy full SHA for 8255a75
expected/poly.out
@@ -349,6 +349,8 @@ LINE 1: SELECT spoly '{(10d,0d),(10d,1d)}';
349
^
350
SELECT spoly(ARRAY[1.0, 2.0, 3.0, 4.0, 5.0]);
351
ERROR: spherepoly_rad: invalid number of arguments (must be even and >= 6)
352
+SELECT spoly(ARRAY[1.0, 2.0, 3.0, NULL, 5.0, 6.0]);
353
+ERROR: spherepoly_rad: invalid array has null values
354
SELECT spoly(ARRAY[]::float8[]);
355
356
SELECT spoly(NULL::float8[]);
@@ -359,6 +361,8 @@ SELECT spoly(NULL::float8[]);
359
361
360
362
SELECT spoly_deg(ARRAY[1.0, 2.0, 3.0, 4.0, 5.0]);
363
ERROR: spherepoly_deg: invalid number of arguments (must be even and >= 6)
364
+SELECT spoly_deg(ARRAY[1.0, 2.0, 3.0, NULL, 5.0, 6.0]);
365
+ERROR: spherepoly_deg: invalid array has null values
366
SELECT spoly_deg(ARRAY[]::float8[]);
367
368
SELECT spoly_deg(NULL::float8[]);
sql/poly.sql
@@ -92,12 +92,16 @@ SELECT spoly '{(10d,0d),(10d,1d)}';
92
93
94
95
96
+
97
98
99
100
101
102
103
104
105
106
107
0 commit comments