]> granicus.if.org Git - postgresql/commitdiff
In load_relcache_init_file, initialize rd_pdcxt.
authorRobert Haas <rhaas@postgresql.org>
Fri, 28 Apr 2017 18:05:13 +0000 (14:05 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 28 Apr 2017 18:05:13 +0000 (14:05 -0400)
Oversight noted by Gao Zeng Qi.

Discussion: http://postgr.es/m/CAFmBtr1N3-SbepJbnGpaYp=jw-FvWMnYY7-bTtRgvjvbyB8YJA@mail.gmail.com

src/backend/utils/cache/relcache.c

index 85c6b6131025edefa7839eaa33d41eec726be078..30789c1edc5ed936d37251591a5f6b56f0bec893 100644 (file)
@@ -5608,6 +5608,7 @@ load_relcache_init_file(bool shared)
                rel->rd_rsdesc = NULL;
                rel->rd_partkeycxt = NULL;
                rel->rd_partkey = NULL;
+               rel->rd_pdcxt = NULL;
                rel->rd_partdesc = NULL;
                rel->rd_partcheck = NIL;
                rel->rd_indexprs = NIL;