Running into an issue running pg_dump with -Fd -Z 9 -j 10 using postgres-14 on linux. The backup completes from the cmdline, but I see that CREATE table IF not exists statements are blocked by a pid for pg_dump doing COPY of a partition table. Not quite sure why pg_dump is still running and doing COPY when pg_dump itself on cmdline completed successfully.
pg_dump completes successfully and no other job running related to pg_dump blocking other jobs
... CREATE table IF not exists statements are blocked by a pid for pg_dump doing COPY of a partition table.? 2) To your question add the query you used and the result.SELECT pg_terminate_backend(<put the PID here>);, but only if you are really sure this should no longer be running