This doesn't actually matter at present, because the current code
never consults null_index for range partitions.  However, leaving
it uninitialized is still a bad idea, so let's not do that.
Amul Sul, reviewed by Ashutosh Bapat
Discussion: http://postgr.es/m/CAAJ_b94AkEzcx+12ySCnbMDX7=UdF4BjnoBGfMQbB0RNSTo3Ng@mail.gmail.com
                        palloc0(sizeof(PartitionBoundInfoData));
                boundinfo->strategy = key->strategy;
                boundinfo->ndatums = ndatums;
+               boundinfo->null_index = -1;
                boundinfo->datums = (Datum **) palloc0(ndatums * sizeof(Datum *));
 
                /* Initialize mapping array with invalid values */
                                                        mapping[null_index] = next_index++;
                                                boundinfo->null_index = mapping[null_index];
                                        }
-                                       else
-                                               boundinfo->null_index = -1;
 
                                        /* All partition must now have a valid mapping */
                                        Assert(next_index == nparts);