diff --git a/contrib/intarray/_int_gin.c b/contrib/intarray/_int_gin.c index 2bf8fc54bb..4607cbeafe 100644 --- a/contrib/intarray/_int_gin.c +++ b/contrib/intarray/_int_gin.c @@ -1,5 +1,5 @@ /* - * $PostgreSQL: pgsql/contrib/intarray/_int_gin.c,v 1.10 2009/06/11 14:48:51 momjian Exp $ + * $PostgreSQL: pgsql/contrib/intarray/_int_gin.c,v 1.10.2.1 2010/03/25 15:50:15 tgl Exp $ */ #include "postgres.h" @@ -65,7 +65,7 @@ ginint4_queryextract(PG_FUNCTION_ARGS) } } - if (nentries == 0) + if (*nentries == 0) { switch (strategy) {