diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-01-11 23:21:55 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-01-11 23:21:55 +0000 |
commit | 0e1a5075fdaec2f42f96cf2a1938c99fcc6b026c (patch) | |
tree | 512b09428119c689e738f47a041f0dce1293c8ac /src/backend/access/gist/gist.c | |
parent | 5c2d36c3ddf77de9151e579c358a066c9443762b (diff) | |
download | postgresql-0e1a5075fdaec2f42f96cf2a1938c99fcc6b026c.tar.gz |
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.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions