Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id F08576331D4 for ; Tue, 7 Jul 2009 12:57:27 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 36767-05 for ; Tue, 7 Jul 2009 12:57:14 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from alexis.jtlnet.com (alexis.jtlnet.com [69.36.9.81]) by mail.postgresql.org (Postfix) with ESMTP id 8C3366328EB for ; Tue, 7 Jul 2009 12:57:14 -0300 (ADT) Received: from [192.168.10.103] (cpe-075-177-154-027.nc.res.rr.com [::ffff:75.177.154.27]) (TLS: TLSv1/SSLv3,256bits,AES256-SHA) by alexis.jtlnet.com with esmtp; Tue, 07 Jul 2009 11:55:46 -0400 id 000880BD.4A537002.00002A70 Message-ID: <4A53704D.50608@dunslane.net> Date: Tue, 07 Jul 2009 11:57:01 -0400 From: Andrew Dunstan User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.12) Gecko/20071019 Fedora/1.0.9-3.fc6 pango-text SeaMonkey/1.0.9 MIME-Version: 1.0 To: pgsql-hackers@postgresql.org CC: Tom Lane Subject: Re: Re: [COMMITTERS] pgsql: Initialise perl library as documented in perl API. References: <20090604155955.545F775331E@cvs.postgresql.org> <26709.1244133504@sss.pgh.pa.us> <4A27FF9E.50305@dunslane.net> <1340.1244136781@sss.pgh.pa.us> <4A280AEC.8090007@dunslane.net> <4A292199.6030201@dunslane.net> In-Reply-To: <4A292199.6030201@dunslane.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.071 tagged_above=0 required=5 tests=AWL=0.071 X-Spam-Level: X-Archive-Number: 200907/392 X-Sequence-Number: 141014 Andrew Dunstan wrote: > > I think we need to float a bug upstream to the perl guys on this, but > as a holding position I suggest that we alter the #ifdef test to avoid > calling PERL_SYS_INIT3() where MYMALLOC is defined. It's ugly, but I > can't think of another simple way around it (and we've done worse > things to accommodate platform weirdness ;-) ) > > It turns out that this doesn't work on Cygwin with its latest Perl (which has MYMALLOC defined). If we call PERL_SYS_INIT3() it fails in that call, and if we don't call it it fails later. We haven't noticed it earlier because my Cygwin buildfarm member's Perl is a couple of years old. I guess we're lucky that it's not a more critical platform, but there is no guarantee that this is the only place it will fail, now or in the future. I will see about following up more energetically with the Perl people. The workaround on Cygwin is to downgrade the perl installation to 5.8.8. cheers andrew