Re: Isn't partition drop code seriously at risk of deadlock?

2017-11-27 Thread Amit Langote
On 2017/11/28 9:04, Tom Lane wrote: > The complaint in bug #14927 that heap_drop_with_catalog is not bothering > to check for SearchSysCache lookup failure (in code evidently newly added > for the partition feature) seems to me to be only scratching the surface > of what's wrong with that code. In

Isn't partition drop code seriously at risk of deadlock?

2017-11-27 Thread Tom Lane
The complaint in bug #14927 that heap_drop_with_catalog is not bothering to check for SearchSysCache lookup failure (in code evidently newly added for the partition feature) seems to me to be only scratching the surface of what's wrong with that code. In particular, I do not understand how it can