]> granicus.if.org Git - postgresql/commit
Speed up dropping tables with many partitions.
authorRobert Haas <rhaas@postgresql.org>
Fri, 28 Apr 2017 18:00:58 +0000 (14:00 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 28 Apr 2017 18:02:24 +0000 (14:02 -0400)
commitc1e0e7e1d790bf18c913e6a452dea811e858b554
treef82e3ff635c13f03524e5f84bf317d23c15b2e30
parent504c2205abc7de67386f9c95630f38ee15626f07
Speed up dropping tables with many partitions.

We need to lock the parent, but we don't need a relcache entry
for it.

Gao Zeng Qi, reviewed by Amit Langote

Discussion: http://postgr.es/m/CAFmBtr0ukqJjRJEhPWL5wt4rNMrJUUxggVAGXPR3SyYh3E+HDQ@mail.gmail.com
src/backend/catalog/heap.c