Fix possibile deadlock when dropping partitions. heap_drop_with_catalog and RangeVarCallbackForDropRelation should lock the parent before locking the target relation.
Amit Langote Discussion: http://postgr.es/m/[email protected] Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/258cef12540fa1cb244881a0f019cefd698c809e Modified Files -------------- src/backend/catalog/heap.c | 30 +++++++++++++++++------------- src/backend/commands/tablecmds.c | 30 ++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 13 deletions(-) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
