Re: FOR UPDATE versus WITH --- change 8.4 too?

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: FOR UPDATE versus WITH --- change 8.4 too?
Дата
Msg-id 603c8f070910271045w24457b35w97706f0d039aa3cf@mail.gmail.com
обсуждение исходный текст
Ответ на Re: FOR UPDATE versus WITH --- change 8.4 too?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, Oct 27, 2009 at 1:14 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> If it doesn't have any effect anyway, what's the virtue of back-patching it?
>
> Because 8.4 just fails in cases where we can easily allow it to work
> according to the new definition.  Right now, if you want to use FOR
> UPDATE in a query that has WITHs, you have to carefully write
> FOR UPDATE OF x,y,z,... for all the non-WITH relations.

Oh, I see.  Well, that seems like it makes sense to me, then.

...Robert


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Delete cascade with three levels bug ?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Endgame for all those SELECT FOR UPDATE changes: fix plan node order