Received: from makus.postgresql.org ([98.129.198.125]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TCHR3-0005Xo-Ve for pgsql-bugs@postgresql.org; Thu, 13 Sep 2012 21:58:58 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TCHR0-0005Ey-Pp for pgsql-bugs@postgresql.org; Thu, 13 Sep 2012 21:58:57 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q8DLwqtR022855; Thu, 13 Sep 2012 17:58:52 -0400 (EDT) From: Tom Lane To: Marko Tiikkaja cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7516: PL/Perl crash In-reply-to: <22390.1347572522@sss.pgh.pa.us> References: <1194.1346688396@sss.pgh.pa.us> <5047BA9C.2040405@joh.to> <16153.1347226320@sss.pgh.pa.us> <17785.1347230278@sss.pgh.pa.us> <504F8034.20802@joh.to> <4011.1347407415@sss.pgh.pa.us> <50506B94.5040003@joh.to> <17684.1347558484@sss.pgh.pa.us> <505229E8.9070507@joh.to> <21173.1347568661@sss.pgh.pa.us> <22390.1347572522@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Thu, 13 Sep 2012 17:42:02 -0400" Date: Thu, 13 Sep 2012 17:58:52 -0400 Message-ID: <22854.1347573532@sss.pgh.pa.us> X-Pg-Spam-Score: -2.4 (--) X-Archive-Number: 201209/128 X-Sequence-Number: 34123 I wrote: > A probably less costly solution than marking current_call_data volatile > is just to make it not-static. And on still further investigation, the patch I just applied to HEAD seems to make it go away too. Bizarre as can be. If that holds up for you, I think back-patching that change is less ugly than making the variable non-static. regards, tom lane