Always initialize PartitionBoundInfoData's null_index.

Robert Haas <rhaas@postgresql.org>

Commit: 096f1ccd5290286b135822bb282fa884454d4b69
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-06-13T16:39:20Z
Releases: 10.0
Always initialize PartitionBoundInfoData's null_index.

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

Files

PathChange+/−
src/backend/catalog/partition.c modified +1 −2

Discussion