Re: DROP TABLE in transaction

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: David Olbersen <dave(at)slickness(dot)org>
Cc: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: DROP TABLE in transaction
Date: 2001-04-12 19:33:27
Message-ID: Pine.LNX.4.30.0104122132200.1148-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

David Olbersen writes:

> I was wondering if anybody could explain to me why I can't roll back dropping a
> table.

Because DROP TABLE removes the table file on disk, and you can't roll back
that. Actually, in 7.1 you can. ;-)

> I would think that of all the events that should be rollback-able,
> dropping a table would be the first on the list.

Naah. Insert and update are first. ;-)

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Joel Burton 2001-04-12 21:23:56 Re: DROP TABLE in transaction
Previous Message David Olbersen 2001-04-12 19:18:36 Re: DROP TABLE in transaction