Re: Partitioning/inherited tables vs FKs - Mailing list pgsql-hackers

From Marko Tiikkaja
Subject Re: Partitioning/inherited tables vs FKs
Date
Msg-id 4BE9594E.10106@cs.helsinki.fi
Whole thread Raw
In response to Re: Partitioning/inherited tables vs FKs  (Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>)
Responses Re: Partitioning/inherited tables vs FKs
List pgsql-hackers
On 5/11/10 4:11 PM +0300, I wrote:
> I took the "SELECT ... FOR SHARE" suggestion in a more general way,
> suggesting the use of row-level locks.  T2 should be holding an
> exclusive row-level lock (SELECT ... FOR UPDATE) when checking for
> references.

Hmm.  Right, that transaction wouldn't see the rows in a serializable 
transaction so this doesn't solve the problem.


Regards,
Marko Tiikkaja


pgsql-hackers by date:

Previous
From: Marko Tiikkaja
Date:
Subject: Re: Partitioning/inherited tables vs FKs
Next
From: Bruce Momjian
Date:
Subject: Re: List traffic