dbTalk Databases Forums  

Re: [BUGS] BUG #1220: "alter table rename to" inside a transaction

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss Re: [BUGS] BUG #1220: "alter table rename to" inside a transaction in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Adam Sah
 
Posts: n/a

Default Re: [BUGS] BUG #1220: "alter table rename to" inside a transaction - 08-18-2004 , 10:58 AM






well, that's fine I suppose -- but then why does it work the other way
for DROP TABLE?

i.e. feels like we're confusing "implementation" and "desired semantics"

adam


Tom Lane wrote:

Quote:
"PostgreSQL Bugs List" <pgsql-bugs (AT) postgresql (DOT) org> writes:

==> yikes! in window 2, it should have errored.


Why are you of the opinion that this is a bug? The catalog lookup has
to happen before the second xact can hope to obtain a lock on the table,
no?

regards, tom lane


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.