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

From: Vadim Mikheev <vadim(at)krs(dot)ru>
To: Jan Wieck <jwieck(at)debis(dot)com>
Cc: PostgreSQL HACKERS <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [HACKERS] strange behaviour on pooled alloc (fwd)
Date: 1999-02-08 03:12:15
Message-ID: 36BE560F.F33ADDCE@krs.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-02-08 03:18:35 Re: [SQL] Functional Indexes
Previous Message Tom Lane 1999-02-08 03:09:37 Re: [HACKERS] v6.4.3 ?