From: | Philip Warner <pjw(at)rhyme(dot)com(dot)au> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Palle Girgensohn <girgen(at)partitur(dot)se> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: reproducable command sequence to get "mdopen: Couldn't open..." |
Date: | 2000-10-16 02:35:19 |
Message-ID: | 3.0.5.32.20001016123519.01f31150@mail.rhyme.com.au |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
At 12:41 15/10/00 -0400, Tom Lane wrote:
>
>Making ALTER TABLE RENAME abort-safe requires changing the conventions
>for naming physical table files, and the details have been sufficiently
>controversial that it's not been done yet. In the meantime our only
>choices are to forbid ALTER TABLE RENAME within transaction blocks, or
>allow it with the knowledge that people can shoot themselves in the foot
>with it. The above warning notice is the current compromise.
Is it going to be in 7.1? If not, it might be worth disabling in TX blocks
since a mistyped SQL query can cause an aborted transaction, something that
is somewhat counter-intuitive. Maybe the message should be expanded to say:
NOTICE: Caution: beyond this point, a mis-spelled attribute name will
corrupt your database
Just an idea... ;-)
----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 0500 83 82 82 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/
From | Date | Subject | |
---|---|---|---|
Next Message | Philip Warner | 2000-10-16 02:48:00 | Re: reproducable command sequence to get "mdopen: Couldn't open..." |
Previous Message | Bruce Momjian | 2000-10-16 02:20:28 | Re: Documentation Error -- JDBC |