pgsql/src/bin/pg_dump common.c pg_dump.c pg_dump.h

From: tgl(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/bin/pg_dump common.c pg_dump.c pg_dump.h
Date: 2002-01-11 23:21:56
Message-ID: 200201112321.g0BNLub56165@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /cvsroot
Module name: pgsql
Changes by: tgl(at)postgresql(dot)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.

Browse pgsql-committers by date

  From Date Subject
Next Message thomas 2002-01-12 04:38:39 pgsql/src backend/utils/adt/timestamp.c includ ...
Previous Message tgl 2002-01-11 21:27:15 pgsql/contrib/pg_resetxlog README.pg_resetxlog ...