Re: [Q] Update from a table

Поиск
Список
Период
Сортировка
От Ladislav Lenart
Тема Re: [Q] Update from a table
Дата
Msg-id 52A08E1C.1010702@volny.cz
обсуждение исходный текст
Ответ на Re: [Q] Update from a table  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On 5.12.2013 15:14, Tom Lane wrote:
> Ladislav Lenart <lenartlad@volny.cz> writes:
>> What happens if I issue UPDATE SET FROM... but with incomplete/buggy WHERE
>> condition and thus SEVERAL rows from the from_list match ONE row to update?
>
> Any given row will be updated at most once.  However, the from_list row
> it gets updated against will be unpredictable, depending on the
> implementation of the join.
>
>             regards, tom lane

Makes perfect sense.

Thank you,

Ladislav Lenart



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [Q] Update from a table
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: [GENERAL] Fwd: Help!Why CPU Usage and LoadAverage Jump up Suddenly