RE: [HACKERS] drop table inside transactions

Поиск
Список
Период
Сортировка
От Jose' Soares Da Silva
Тема RE: [HACKERS] drop table inside transactions
Дата
Msg-id Pine.LNX.3.96.980417164747.1733A-100000@proxy.bazzanese.com
обсуждение исходный текст
Ответ на RE: [HACKERS] drop table inside transactions  ("Meskes, Michael" <meskes@topsystem.de>)
Ответы Re: [HACKERS] drop table inside transactions  (jwieck@debis.com (Jan Wieck))
Список pgsql-hackers
On Fri, 17 Apr 1998, Meskes, Michael wrote:

> Is this really a bug? I haven't seen any (commercial) system supporting
> this kind of transaction recovery. Once you drop a table the data is
> lost, no matter if you rollback or not.
>
> Michael
Maybe you are right Michael, but there's another point; the table wasn't
removed, it is still there, only data are cancelled.
It's more, like a DELETE FROM ... not a DROP TABLE...
and, if another user inserts data into this dropped table,
the table returns with all data.
(Refer to my first bug-report on this matter),
and more; some times ROLLBACK restores both data and table structure. ;-)
>
> > prova=> drop table a;
> > DROP
> > prova=> select * from a;
> > ERROR:  a: Table does not exist.
> > prova=> rollback;
> > ABORT
> > prova=> select * from a;
> > a
> > -
> > (0 rows)
> >                                                          Jose'


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Anyone working on asynchronous NOTIFY reception?
Следующее
От: Byron Nikolaidis
Дата:
Сообщение: Re: [HACKERS] Re: [INTERFACES] Re: ODBC driver