Skip site navigation (1) Skip section navigation (2)

Re: crash in plancache with subtransactions

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: crash in plancache with subtransactions
Date: 2010-10-29 15:54:52
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Alvaro Herrera <alvherre(at)commandprompt(dot)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

In response to


pgsql-hackers by date

Next:From: Marti RaudseppDate: 2010-10-29 16:25:03
Subject: [PATCH] Cleanup: Compare pointers to NULL instead of 0
Previous:From: Leonardo FrancalanciDate: 2010-10-29 15:41:18
Subject: Re: plan time of MASSIVE partitioning ...

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group