Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 584AD632C9D for ; Sat, 18 Jul 2009 16:18:03 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 50770-05 for ; Sat, 18 Jul 2009 16:17:52 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id BC85E6325D7 for ; Sat, 18 Jul 2009 16:17:52 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id n6IJHkx4012940; Sat, 18 Jul 2009 15:17:46 -0400 (EDT) To: Frank van Vugt cc: pgsql-bugs@postgresql.org Subject: Re: bug or simply not enough stack space? In-reply-to: <200907172006.53760.ftm.van.vugt@foxi.nl> References: <200907161545.20338.ftm.van.vugt@foxi.nl> <200907171110.58371.ftm.van.vugt@foxi.nl> <2759.1247847476@sss.pgh.pa.us> <200907172006.53760.ftm.van.vugt@foxi.nl> Comments: In-reply-to Frank van Vugt message dated "Fri, 17 Jul 2009 20:06:50 +0200" Date: Sat, 18 Jul 2009 15:17:46 -0400 Message-ID: <12939.1247944666@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200907/239 X-Sequence-Number: 23701 Frank van Vugt writes: >> I think I might have been overenthusiastic in trying to free resources >> during a subtransaction abort. Try this patch and see if you notice >> any bad side-effects. > All examples I had that crashed and burned, now work correctly and/or bail out > correctly where needed. > No side-effects noticed. Well, it had some :-(. I've committed a better version of that patch, which will be in 8.4.1. However, if you're not seeing any serious memory leakage then you could keep using the patch you have for the time being. regards, tom lane