Re: [SQL] Backend crash

Поиск
Список
Период
Сортировка
Искать

Re: [SQL] Backend crash

От:
Alain TESIO <alain_tesio@yahoo.com>
Дата:
> 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 ?

Alain


=====

signoff

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Re: [SQL] Backend crash

От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
> > 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, Pennsylvania 19026

FAQ