Received: from candle.pha.pa.us (pgman@s5-03.ppp.op.net [209.152.195.67] (may be forged)) by hub.org (8.9.3/8.9.3) with ESMTP id RAA69645 for ; Mon, 24 Jan 2000 17:32:35 -0500 (EST) (envelope-from pgman@candle.pha.pa.us) Received: (from pgman@localhost) by candle.pha.pa.us (8.9.0/8.9.0) id RAA02642; Mon, 24 Jan 2000 17:31:48 -0500 (EST) From: Bruce Momjian Message-Id: <200001242231.RAA02642@candle.pha.pa.us> Subject: Re: [SQL] Backend crash In-Reply-To: <20000124205812.11297.qmail@web301.mail.yahoo.com> from Alain TESIO at "Jan 24, 2000 12:58:12 pm" To: tesio@easynet.fr Date: Mon, 24 Jan 2000 17:31:48 -0500 (EST) CC: pgsql-sql@postgreSQL.org X-Mailer: ELM [version 2.4ME+ PL66 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > 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@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