Re: Re: BUG #13541: There is a visibility issue when run some DDL and Query. The time window is very shot

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: BUG #13541: There is a visibility issue when run some DDL and Query. The time window is very shot
Дата
Msg-id 4140.1439562190@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #13541: There is a visibility issue when run some DDL and Query. The time window is very shot  (zhangjinyu <beijing_pg@163.com>)
Список pgsql-bugs
zhangjinyu <beijing_pg@163.com> writes:
> The DDL query(alter ...set data type ) rewrites all tuples with new
> transaction xid,  so if the transaction isolation level is repeatable read,
> that will cause wrong result.

Yes.  This is unlikely to change, but we ought to document it.

I see that we have documentation warning about this sort of effect in the
TRUNCATE reference page, but not in ALTER TABLE's.  Rather than
copy-and-paste that, ISTM it'd be better to move the warning to somewhere
in mvcc.sgml.

            regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #13571: sql-only extension segfaults backend during creation
Следующее
От: herbertsilver@gmail.com
Дата:
Сообщение: BUG #13572: Foreign Key Corruption