We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4797f9b commit 52f63bdCopy full SHA for 52f63bd
src/backend/utils/adt/rangetypes_spgist.c
@@ -556,7 +556,7 @@ spg_range_quad_inner_consistent(PG_FUNCTION_ARGS)
556
* for lower or upper bounds to be adjacent. Deserialize
557
* previous centroid range if present for checking this.
558
*/
559
- if (in->traversalValue != (Datum) 0)
+ if (in->traversalValue)
560
{
561
prevCentroid = DatumGetRangeTypeP(in->traversalValue);
562
range_deserialize(typcache, prevCentroid,
0 commit comments