Re: pgsql: Make SELECT FOR UPDATE/SHARE work on inheritance trees, by having

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pgsql: Make SELECT FOR UPDATE/SHARE work on inheritance trees, by having
Дата
Msg-id 200811201635.mAKGZwM06609@momjian.us
обсуждение исходный текст
Ответ на pgsql: Make SELECT FOR UPDATE/SHARE work on inheritance trees, by having  (tgl@postgresql.org (Tom Lane))
Список pgsql-committers
Tom Lane wrote:
> Log Message:
> -----------
> Make SELECT FOR UPDATE/SHARE work on inheritance trees, by having the plan
> return the tableoid as well as the ctid for any FOR UPDATE targets that
> have child tables.  All child tables are listed in the ExecRowMark list,
> but the executor just skips the ones that didn't produce the current row.
>
> Curiously, this longstanding restriction doesn't seem to have been documented
> anywhere; so no doc changes.

It was documented on the TODO list;  marked as done now.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: mha@postgresql.org (Magnus Hagander)
Дата:
Сообщение: pgsql: Don't pass strings directly to errdetail() and errhint() - use %s
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix breakage of bitmap scan plan creation for special index