8000
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 24d08e8 commit 7c7f72cCopy full SHA for 7c7f72c
vops.c
@@ -2955,6 +2955,12 @@ Datum vops_import(PG_FUNCTION_ARGS)
2955
case VOPS_INTERVAL:
2956
{
2957
Interval* it = DatumGetIntervalP(val);
2958
+
2959
+ if (it == NULL) {
2960
+ elog(ERROR, "NULL intervals are not supported");
2961
+ break;
2962
+ }
2963
2964
if (it->day || it->month)
2965
elog(ERROR, "Day, month and year intervals are not supported");
2966
((vops_int8*)tile)->payload[j] = it->time;
0 commit comments