Re: Weird behavior with "sensitive" cursors.

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Weird behavior with "sensitive" cursors.
Дата
Msg-id 20091001230401.GM5607@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: Weird behavior with "sensitive" cursors.  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Weird behavior with "sensitive" cursors.  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
Tom Lane escribió:
> Alvaro Herrera <alvherre@commandprompt.com> writes:
> > Tom Lane escribi�:
> >> I don't think that testing rowMarks is the right thing at all here.
> >> That tells you whether it's a SELECT FOR UPDATE, but actually we
> >> want any cursor (and only cursors) to have a private snapshot.
>
> > The attached patch implements this.  I intend to apply to 8.4 and HEAD
> > shortly.
>
> Looks sane.  Can we add a short regression test sequence that checks
> for this?

Something is wrong with the patch :-(  I'm getting
WARNING:  Snapshot reference leak: Snapshot 0x1be5840 still referenced
with a simple test case.  Still investigating.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Vacuumdb Fails: Huge Tuple
Следующее
От: Tim Landscheidt
Дата:
Сообщение: Procedure for feature requests?