From: | vaibhave postgres <postgresvaibhave(at)gmail(dot)com> |
---|---|
To: | pgsql-bugs(at)lists(dot)postgresql(dot)org |
Cc: | vsekar(at)microsoft(dot)com |
Subject: | pg_restore: fails to restore post-data items due to circular FK deadlock |
Date: | 2024-05-30 10:58:00 |
Message-ID: | CAM_eQjwLbRsdPF2=Yip05QNb-tyb2LXkAqfSkuVKpZRNhRmJmA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
*Repro steps*
1. Create a database which has circular foreign key dependencies. (or use
the sql script which I have shared), restore the pre-data section first.
2. pg_dump -Fc *--section=post-data*
3. pg_restore --jobs > 1
pg_restore fails to record the dependency between the foreign keys and
tries to process them in parallel (see the attached log file for details)
Attachment | Content-Type | Size |
---|---|---|
mini_log.txt | text/plain | 717 bytes |
sql_script.txt | text/plain | 1.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Etsuro Fujita | 2024-05-30 12:56:19 | Re: BUG #18467: postgres_fdw (deparser) ignores LimitOption |
Previous Message | Daniel Gustafsson | 2024-05-30 10:27:12 | Re: BUG #18484: "Cannot enlarge string buffer" during parallel execution of prepared statement/partitioning |