Re: Bug in detaching a partition with a foreign key.
| От | Álvaro Herrera |
|---|---|
| Тема | Re: Bug in detaching a partition with a foreign key. |
| Дата | |
| Msg-id | 202501201526.qvxjk2ptyqop@alvherre.pgsql обсуждение |
| Ответ на | Re: Bug in detaching a partition with a foreign key. (Sami Imseih <samimseih@gmail.com>) |
| Ответы |
Re: Bug in detaching a partition with a foreign key.
|
| Список | pgsql-hackers |
On 2025-Jan-20, Sami Imseih wrote: > Below is the repro I used. Similar as you original repro, > but without subpartition on foo_p0. This also results in the segfault > with your attached patch. I think the issue in Amul's patch is just that the list was not initialized to NIL. Other than the lack of comments, which I'm in the process of writing, the initial patch Amul submitted seems largely correct to me, in my understanding of the situation. I'll throw in a few tests, hoping that it'll prove correct, and if so then I'll get it pushed soon. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "El hombre nunca sabe de lo que es capaz hasta que lo intenta" (C. Dickens)
В списке pgsql-hackers по дате отправления: