On Tue, Apr 25, 2017 at 10:05 PM, Amit Langote <langote_amit...@lab.ntt.co.jp> wrote: >> The attached patch try to replace 'heap_open' with 'LockRelationOid' when >> locking parent table. >> It improved dropping a table with 7000 partitions. > > Your patch seems to be a much better solution to the problem, thanks.
Does anyone wish to object to this patch as untimely? If not, I'll commit it. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers