| From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
|---|---|
| To: | Kirill Reshke <reshkekirill(at)gmail(dot)com> |
| Cc: | Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: tablecmds: Deadlock caused by Attach Partition |
| Date: | 2026-10-25 09:32:45 |
| Message-ID: | at3MCB1EIOHMjh6K@alvherre.pgsql |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 2026-Sep-03, Kirill Reshke wrote:
> > Potential issue remaining
> > ===================
> >
> > Currently, find_all_inheritors() sorts all inheritors purely by OID.
> > In most cases this works, because users typically create a
> > partitioned table first and then add partitions later, so the
> > partitioned table’s OID is smaller than those of its partitions.
Hmm, I suppose I just added one more possibility for this kind of
deadlock failure with the 2ebd6849743 fix; maybe we should apply this
methodology to that code also.
--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
Are you not unsure you want to delete Firefox?
[Not unsure] [Not not unsure] [Cancel]
http://smylers.hates-software.com/2008/01/03/566e45b2.html
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Zhijie Hou | 2026-10-25 10:11:14 | Re: [PATCH] Disallow column lists on tables with REPLICA IDENTITY FULL when publishing updates/deletes |
| Previous Message | Álvaro Herrera | 2026-10-25 09:27:52 | Re: pg_dump/restore failure (dependency?) on BF serinus |