Re: crash in plancache with subtransactions - Mailing list pgsql-hackers

From Tom Lane
Subject Re: crash in plancache with subtransactions
Date
Msg-id 2717.1288367692@sss.pgh.pa.us
Whole thread Raw
In response to Re: crash in plancache with subtransactions  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: crash in plancache with subtransactions
Re: crash in plancache with subtransactions
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Excerpts from Tom Lane's message of mié oct 27 18:18:06 -0300 2010:
>> I spent quite a bit of time trying to deal with the memory-leakage
>> problem without adding still more bookkeeping overhead.  It wasn't
>> looking good, and then I had a sudden insight: if we see that the in-use
>> flag is set, we can simply return FALSE from exec_eval_simple_expr.

> I tried the original test cases that were handed to me (quite different
> from what I submitted here) and they are fixed also.  Thanks.

It'd be interesting to know if there's any noticeable slowdown on
affected real-world cases.  (Of course, if they invariably crashed
before, there might not be a way to measure their previous speed...)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Leonardo Francalanci
Date:
Subject: Re: plan time of MASSIVE partitioning ...
Next
From: Marti Raudsepp
Date:
Subject: [PATCH] Cleanup: Compare pointers to NULL instead of 0