| From: | Andrew Dunstan <andrew(at)dunslane(dot)net> | 
|---|---|
| To: | pgsql-hackers(at)postgresql(dot)org | 
| Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> | 
| Subject: | Re: Re: [COMMITTERS] pgsql: Initialise perl library as documented in perl API. | 
| Date: | 2009-07-07 15:57:01 | 
| Message-ID: | 4A53704D.50608@dunslane.net | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-committers pgsql-hackers | 
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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2009-07-07 16:28:38 | pgsql: Code review for patch to show definition of index columns in \d | 
| Previous Message | User H-saito | 2009-07-07 13:52:57 | pg-migrator - pg_migrator: update the document. | 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David E. Wheeler | 2009-07-07 16:02:53 | Re: 8.3 PLpgSQL Can't Compare Records? | 
| Previous Message | Tom Lane | 2009-07-07 15:49:37 | Re: Re: Synch Rep: direct transfer of WAL file from the primary to the standby |