Re: Select For Update and Left Outer Join

Поиск
Список
Период
Сортировка
От greg.fenton
Тема Re: Select For Update and Left Outer Join
Дата
Msg-id f86b2eee-8b66-44ea-955e-76e618434024@v10g2000yqn.googlegroups.com
обсуждение исходный текст
Ответ на Select For Update and Left Outer Join  (Patrick Earl <patearl@patearl.net>)
Список 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 по дате отправления:

Предыдущее
От: Amitabh Kant
Дата:
Сообщение: Re: Storage of Indian Language text in postgresql through PHP
Следующее
От: "Jira, Marcel"
Дата:
Сообщение: Merge overlapping time-periods