Re: [HACKERS] strange behaviour on pooled alloc (fwd)

Поиск
Список
Период
Сортировка
От Vadim Mikheev
Тема Re: [HACKERS] strange behaviour on pooled alloc (fwd)
Дата
Msg-id 36BE560F.F33ADDCE@krs.ru
обсуждение исходный текст
Ответ на Re: [HACKERS] strange behaviour on pooled alloc (fwd)  (jwieck@debis.com (Jan Wieck))
Ответы Re: [HACKERS] strange behaviour on pooled alloc (fwd)  (jwieck@debis.com (Jan Wieck))
Список pgsql-hackers
Jan Wieck wrote:
> 
>     I have modified ExecutorStart() so it makes it's private copy
>     of the actual  QuerySnapshot  in  it's  own  executor  memory
>     context. Could you please comment if what is in QuerySnapshot
>     at the time of ExecutorStart() get's or should  get  modified
>     anywhere  during  the  execution of a plan. The name snapshot
>     tells me NOT. But you're the one to judge.

You're correct. Alternativly, we could use some refcount
in Snapshot structure...

Vadim


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] v6.4.3 ?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] Functional Indexes