Re: Avoiding a deadlock

Поиск
Список
Период
Сортировка
От Paul Jungwirth
Тема Re: Avoiding a deadlock
Дата
Msg-id CA+6hpa=hWt50u-yz4Pwukk5O57M8gfYhYqnn12R9gfwbdAZ9zQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Avoiding a deadlock  (Paul Jungwirth <pj@illuminatedcomputing.com>)
Ответы Re: Avoiding a deadlock
Список pgsql-general
> Out of curiosity: any reason the ORDER BY should be in the subquery? It seems like it ought to be in the UPDATE (if that's allowed).

Hmm, it's not allowed. :-) It's still surprising that you can guarantee the order of a multi-row UPDATE by ordering a subquery.

Paul

--
_________________________________
Pulchritudo splendor veritatis.

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

Предыдущее
От: Stefan Keller
Дата:
Сообщение: How to append an element to a row inside a 2-dim. array?
Следующее
От: Steve Erickson
Дата:
Сообщение: Upgrading postgresql-8.4