Re: snapshots

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: snapshots
Дата
Msg-id 6834.981315242@sss.pgh.pa.us
обсуждение исходный текст
Ответ на snapshots  (Kovacs Baldvin <kb136@hszk.bme.hu>)
Список pgsql-hackers
Kovacs Baldvin <kb136@hszk.bme.hu> writes:
> Could somebody explain me the mechanism in the backend,
> which is responsible for the followings. (I tried to
> look around snapshots, but couldnt figure out th answer).

> In a transaction, isol. read comitted, a select from a
> table can see the comitted changes by others, but
> a previously declared cursor can not.

Yup.  The snapshot used for a particular query is nailed down when
ExecutorStart() is called.  Look around for uses of QuerySnapshot
and estate->es_snapshot.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Re: [PATCHES] A Sparc/Linux patch (for 7.1), and a Linux rc.d/init.d script....
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [BUGS] syslog logging setup broken?