]> granicus.if.org Git - postgresql/commit
Always initialize PartitionBoundInfoData's null_index.
authorRobert Haas <rhaas@postgresql.org>
Tue, 13 Jun 2017 16:36:45 +0000 (12:36 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 13 Jun 2017 16:39:20 +0000 (12:39 -0400)
commit096f1ccd5290286b135822bb282fa884454d4b69
tree8abeda6ea791b2b7dcd0f046bb2d04b3f4954c87
parentb6263cd851ef245a5dc38119448e029ca1592da4
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
src/backend/catalog/partition.c