Re: ALTER TABLE DROP COLUMN
Marc G. Fournier <scrappy@hub.org>
From: The Hermit Hacker <scrappy@hub.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, Hiroshi Inoue <Inoue@tpf.co.jp>, PostgreSQL Development <pgsql-hackers@postgreSQL.org>
Date: 2000-10-09T20:30:05Z
Lists: pgsql-hackers
On Mon, 9 Oct 2000, Tom Lane wrote: > The Hermit Hacker <scrappy@hub.org> writes: > >> What happens if you crash partway through? > > > what happens if you crash partway through a vacuum? > > Nothing. Vacuum is crash-safe. ALTER TABLE should be too. Sorry, that's what I meant ... why should marking a column as 'deleted' and running a 'vacuum' to clean up the physical table be any less crash-safe?