Re: Serializable access giving wrong error messages?

Поиск
Список
Период
Сортировка
От Hiroshi Inoue
Тема Re: Serializable access giving wrong error messages?
Дата
Msg-id 3C2BD7D9.ED80E976@tpf.co.jp
обсуждение исходный текст
Ответ на Serializable access giving wrong error messages?  (Mikko Vierula <mikko.vierula@elektroniikkatyo.fi>)
Ответы Re: Serializable access giving wrong error messages?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Tom Lane wrote:
>
> Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> > Currently PostgreSQL ignores the update/deleted
> > tuples from the first which don't satisfy the
> > qualification at the point of snapshot.
>
> It does?  It looks to me like we use SnapshotDirty time qual check
> and wait for any uncommitted transaction.  This essentially means
> that we use "latest committed" state, not the query-start snapshot.

I don't refer to SnapshotDirty(Now/Self/Any) as the snapshot
because they aren't real snapshots.
What I meant is e.g.

 update t set .. = .. where ...;

 PostgreSQL ignores the tuples which don't satisfy the
 where clause at the point when the query started(or
 when the transaction started in serializable mode)
 even though it happend to look already update/delete
 (/insert)ed tuples.

regards,
Hiroshi Inoue

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Serializable access giving wrong error messages?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Serializable access giving wrong error messages?