Re: BUG #17126: Server crashes on dropping user while enumerating owned objects that are droppped concurrently

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #17126: Server crashes on dropping user while enumerating owned objects that are droppped concurrently
Дата
Msg-id 202111051535.qlwto6qoh647@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: BUG #17126: Server crashes on dropping user while enumerating owned objects that are droppped concurrently  (Alexander Lakhin <exclusion@gmail.com>)
Список pgsql-bugs
On 2021-Sep-02, Alexander Lakhin wrote:

> I've found another one in dependency.c:
> 
>         else if (behavior == DROP_RESTRICT)
>         {
>             char       *otherDesc = getObjectDescription(&extra->dependee,
>                                                          false);
> ...
>             pfree(otherDesc);
> I couldn't trigger a failure at this place yet, but maybe it's worth to
> fix here too.

Thank you, I patched this one as well.  Fix is now pushed to all branches.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"Cada quien es cada cual y baja las escaleras como quiere" (JMSerrat)



В списке pgsql-bugs по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: BUG #17235: PQsendQuery (with two sql) after PQenterPipelineMode cause ERROR
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: BUG #17257: (auto)vacuum hangs within lazy_scan_prune()