Skip to content
Snippets Groups Projects
Commit 0e1a5075 authored by Tom Lane's avatar Tom Lane
Browse files

Fix pg_dump to read-lock all tables to be dumped as soon as it's read

their names from pg_class.  This considerably reduces the window wherein
someone could DROP or ALTER a table that pg_dump is intending to dump.
Not a perfect solution, but definitely an improvement.  Per complaints
from Marc Fournier; patch by Brent Verner with some kibitzing by Tom Lane.
parent 5c2d36c3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment