From: | Philip Warner <pjw(at)rhyme(dot)com(dot)au> |
---|---|
To: | Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, Vadim Mikheev <vadim(at)krs(dot)ru> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Leon <leon(at)udmnet(dot)ru>, Michael Simms <grim(at)argh(dot)demon(dot)co(dot)uk>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: [HACKERS] DROP TABLE inside transaction block |
Date: | 1999-09-07 03:19:24 |
Message-ID: | 3.0.5.32.19990907131924.00b89d10@mail.rhyme.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
>>
>> Oracle auto-commits current in-progress transaction before
>> execution of any DDL statement and executes such statements in
>> separate transaction.
>
>That's cheating!
>
Dec (Oracle) Rdb cheats by locking a tables meta-data as soon as any user
accesses it, so that 'alter/drop table' will not run while that user is
attached. But is does support meta-data changes inside transactions
(assuming no-else who is currently connected has ever read that particular
meta-data). It is nice being able to rollback 'alter table' statements,
even under these strong restrictions.
----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.C.N. 008 659 498) | /(@) ______---_
Tel: +61-03-5367 7422 | _________ \
Fax: +61-03-5367 7430 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/
From | Date | Subject | |
---|---|---|---|
Next Message | flo | 1999-09-07 03:52:09 | Re: [HACKERS] temp table oddness? |
Previous Message | Vadim Mikheev | 1999-09-07 03:09:40 | Re: [HACKERS] DROP TABLE inside transaction block |