pgsql/src/bin/pg_dump common.c pg_dump.c pg_dump.h - Mailing list pgsql-committers

From tgl@postgresql.org
Subject pgsql/src/bin/pg_dump common.c pg_dump.c pg_dump.h
Date
Msg-id 200201112321.g0BNLub56165@postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    02/01/11 18:21:55

Modified files:
    src/bin/pg_dump: common.c pg_dump.c pg_dump.h

Log message:
    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.


pgsql-committers by date:

Previous
From: tgl@postgresql.org
Date:
Subject: pgsql/contrib/pg_resetxlog README.pg_resetxlog ...
Next
From: thomas@postgresql.org
Date:
Subject: pgsql/src backend/utils/adt/timestamp.c includ ...