Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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.


pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group