diff options
Diffstat (limited to 'contrib/array/array_iterator.c')
-rw-r--r-- | contrib/array/array_iterator.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/contrib/array/array_iterator.c b/contrib/array/array_iterator.c index 3622cf98195..8a2455b673b 100644 --- a/contrib/array/array_iterator.c +++ b/contrib/array/array_iterator.c @@ -49,7 +49,7 @@ array_iterator(Oid elemtype, Oid proc, int and, ArrayType *array, Datum value) /* Sanity checks */ if (array == (ArrayType *) NULL) { - /* elog(NOTICE, "array_iterator: array is null"); */ + /* elog(WARNING, "array_iterator: array is null"); */ return (0); } @@ -60,10 +60,7 @@ array_iterator(Oid elemtype, Oid proc, int and, ArrayType *array, Datum value) dim = ARR_DIMS(array); nitems = ArrayGetNItems(ndim, dim); if (nitems == 0) - { - /* elog(NOTICE, "array_iterator: nitems = 0"); */ return (0); - } /* Lookup element type information */ get_typlenbyval(elemtype, &typlen, &typbyval); |