Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id DF2AC63307B for ; Fri, 5 Jun 2009 11:03:34 -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 44808-10 for ; Fri, 5 Jun 2009 11:03:24 -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 7F140632F57 for ; Fri, 5 Jun 2009 11:03:30 -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 n55E3Ptt003311; Fri, 5 Jun 2009 10:03:25 -0400 (EDT) To: Andrew Dunstan cc: pgsql-hackers@postgresql.org Subject: Re: Re: [COMMITTERS] pgsql: Initialise perl library as documented in perl API. In-reply-to: <4A292199.6030201@dunslane.net> 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> Comments: In-reply-to Andrew Dunstan message dated "Fri, 05 Jun 2009 09:46:01 -0400" Date: Fri, 05 Jun 2009 10:03:25 -0400 Message-ID: <3310.1244210605@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.106 tagged_above=0 required=5 tests=AWL=0.106 X-Spam-Level: X-Archive-Number: 200906/469 X-Sequence-Number: 139524 Andrew Dunstan writes: > 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. +1 on both. > BTW, it's not caused by passing NULL as the third argument of > PERL_SYS_INIT3() - changing that was the first thing I tried. Nonetheless, that compiler warning is pretty ugly; please do something about it. I concur with your feeling that setting up a dummy empty environment array is probably the safest thing to do. regards, tom lane