Speed up dropping tables with many partitions.

Robert Haas <rhaas@postgresql.org>

Commit: c1e0e7e1d790bf18c913e6a452dea811e858b554
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-04-28T18:02:24Z
Releases: 10.0
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

Files

PathChange+/−
src/backend/catalog/heap.c modified +6 −6

Discussion