Re: Select For Update and Left Outer Join - Mailing list pgsql-sql

From greg.fenton
Subject Re: Select For Update and Left Outer Join
Date
Msg-id f86b2eee-8b66-44ea-955e-76e618434024@v10g2000yqn.googlegroups.com
Whole thread Raw
In response to Select For Update and Left Outer Join  (Patrick Earl <patearl@patearl.net>)
List pgsql-sql
On Apr 28, 2:00 am, pate...@patearl.net (Patrick Earl) wrote:
> This is a follow-up to an old message by Tom Lane:
>
>    http://archives.postgresql.org/pgsql-sql/2006-10/msg00080.php
>

[...]

>
> select * from Pet
> left join Dog on Dog.Id = Pet.Id
> left join Cat on Cat.Id = Pet.Id
>
> Now suppose you want to lock to ensure that your Cat is not updated
> concurrently.  You add FOR UPDATE, but then PostgreSQL gets upset and
> complains that locking on the nullable side of an outer join is not
> allowed.
>

Any resolve to or update on this issue?

Thanks,
greg.fenton
--
greg dot fenton at gmail (yes, dot com)


pgsql-sql by date:

Previous
From: Amitabh Kant
Date:
Subject: Re: Storage of Indian Language text in postgresql through PHP
Next
From: "Jira, Marcel"
Date:
Subject: Merge overlapping time-periods