Re: CTEs modifying the same table more than once

Поиск
Список
Период
Сортировка
От Marko Tiikkaja
Тема Re: CTEs modifying the same table more than once
Дата
Msg-id 3a2cae10-2b5a-4f15-e257-0c985e423f0e@joh.to
обсуждение исходный текст
Ответ на CTEs modifying the same table more than once  (Pantelis Theodosiou <ypercube@gmail.com>)
Ответы Re: CTEs modifying the same table more than once
Список pgsql-docs
On 2016-10-01 13:13, Pantelis Theodosiou wrote:
> I answered that this is unpredictable behaviour but the docs state only the
> update-update and update-delete cases explicitly and the general wording is
> about 2 updates.

It's documented[1] behavior:

   "All the statements are executed with the same snapshot (see Chapter
13), so they cannot "see" one another's effects on the target tables."


.m

[1] https://www.postgresql.org/docs/current/static/queries-with.html


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

Предыдущее
От: Pantelis Theodosiou
Дата:
Сообщение: CTEs modifying the same table more than once
Следующее
От: Pantelis Theodosiou
Дата:
Сообщение: Re: CTEs modifying the same table more than once