Re: [SQL] Backend crash

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [SQL] Backend crash
Дата
Msg-id 200001242231.RAA02642@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [SQL] Backend crash  (Alain TESIO <alain_tesio@yahoo.com>)
Список pgsql-sql
> > Fixed in current source tree.  We had some problems with temp
> > tables created inside transactions.  Next release will fix this.
> 
> Will this be allowed ? It's forbidden in Sybase for example.
> Will a rollback delete the table ? Maybe if modification of
> system tables are logged too ?

Good question:
test=> BEGIN; BEGINtest=> CREATE TEMP TABLE test(x int);CREATEtest=> INSERT INTO test VALUES (1);INSERT 18729 1test=>
ABORT;ABORTtest=>SELECT * FROM test;ERROR:  Relation 'test' does not exist
 

Man, are we good, or what?

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Alain TESIO
Дата:
Сообщение: Re: [SQL] Backend crash
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [SQL] Blobs