Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Hackers > Re: Re: [COMMIT...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 6 of 6 Topic 9261 of 9928
Post > Topic >>

Re: Re: [COMMITTERS] pgsql: Update: < * Allow adding enumerated values to an existing

by tgl@[EMAIL PROTECTED] (Tom Lane) Apr 26, 2008 at 01:33 PM

Andrew Dunstan <andrew@[EMAIL PROTECTED]
> writes:
> Alvaro Herrera wrote:
>> Another alternative would be internally creating a different tem****ary
>> enum, rewriting the tables one by one each on its own transaction, and
>> finish by dropping the original enum and renaming the tem****ary one.
>> This solves the deadlock problem.

> What happens when someone tries to join two of the tables, one that has 
> been converted and one that hasn't? You might not have deadlock, but you

> won't have type integrity either, ISTM.

Not to mention the mess you'll be left with if the process fails after
converting some of the tables.

			regards, tom lane

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
 




 6 Posts in Topic:
Re: Re: [COMMITTERS] pgsql: Update: < * Allow adding enumerated
pgsql@[EMAIL PROTECTED]   2008-04-26 02:40:06 
Re: Re: [COMMITTERS] pgsql: Update: < * Allow adding enumerated
tgl@[EMAIL PROTECTED] (T  2008-04-25 17:21:25 
Re: Re: [COMMITTERS] pgsql: Update: < * Allow adding enumerated
andrew@[EMAIL PROTECTED]   2008-04-25 17:37:07 
Re: Re: [COMMITTERS] pgsql: Update: < * Allow adding
alvherre@[EMAIL PROTECTED  2008-04-26 09:44:23 
Re: Re: [COMMITTERS] pgsql: Update: < * Allow adding enumerated
andrew@[EMAIL PROTECTED]   2008-04-26 11:18:41 
Re: Re: [COMMITTERS] pgsql: Update: < * Allow adding enumerated
tgl@[EMAIL PROTECTED] (T  2008-04-26 13:33:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 21 18:30:31 CDT 2008.