pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-hackers@postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Subject: Re: Re: [COMMITTERS] pgsql: Initialise perl library as documented in perl API.
Date: Tue, 07 Jul 2009 11:57:01 -0400
Message-ID: <4A53704D.50608@dunslane.net> (raw)
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>



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




view thread (16+ messages)  latest in thread

Message-ID: <4A53704D.50608@dunslane.net>
Permalink:  ../4A53704D.50608@dunslane.net/
Also on:    postgresql.org/message-id/4A53704D.50608@dunslane.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net, pgsql-hackers@postgresql.org, tgl@sss.pgh.pa.us
  Subject: Re: Re: [COMMITTERS] pgsql: Initialise perl library as documented in perl API.
  In-Reply-To: <4A53704D.50608@dunslane.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox