some questions about SELECT FOR UPDATE/SHARE - Mailing list pgsql-hackers

From Tao Ma
Subject some questions about SELECT FOR UPDATE/SHARE
Date
Msg-id gn0jgq$mj9$1@news.hub.org
Whole thread Raw
Responses Re: some questions about SELECT FOR UPDATE/SHARE
Re: some questions about SELECT FOR UPDATE/SHARE
List pgsql-hackers
Hi,
I noticed Tom Lane made SELECT FOR UPDATE/SHARE work on inheritance trees.
But todo list is not updated to reflect this change.
http://wiki.postgresql.org/wiki/Todo#Inheritance

Actually, there is a patch trying to remove the ONLY clause on the foreign 
key checks on the inheritance tables. Matt Newell, the author of the patch, 
remove too many things(both ONLY and FOR SHARE) to achieve his aims. At that 
time, SELECT FOR UPDATE/SHARE cannot work on inheritance tables. Without FOR 
UPDATE/SHARE, there will be some bugs, if there are concurrent updates(Tom 
Lane said).

the discussions about the Matt Newell's path are here:
http://archives.postgresql.org/pgsql-patches/2005-11/msg00062.php

My question is: Is it possible to remove the ONLY from the RI checks after 
Tom Lane made SELECT FOR UPDATE/SHARE work on inheritance trees?

Best wishes 




pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Hot Standby: subxid cache changes
Next
From: Bernd Helmle
Date:
Subject: Re: temporarily stop autovacuum