Re: [SQL] Backend crash

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: tesio(at)easynet(dot)fr
Cc: pgsql-sql(at)postgreSQL(dot)org
Subject: Re: [SQL] Backend crash
Date: 2000-01-24 22:31:48
Message-ID: 200001242231.RAA02642@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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;
BEGIN
test=> CREATE TEMP TABLE test(x int);
CREATE
test=> INSERT INTO test VALUES (1);
INSERT 18729 1
test=> ABORT;
ABORT
test=> SELECT * FROM test;
ERROR: Relation 'test' does not exist

Man, are we good, or what?

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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Neil Cameron 2000-01-24 22:33:59 Blobs
Previous Message Alain TESIO 2000-01-24 20:58:12 Re: [SQL] Backend crash