Re: PG 8.1beta3 out soon - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: PG 8.1beta3 out soon
Date
Msg-id 434BB826.1050504@dunslane.net
Whole thread Raw
In response to Re: PG 8.1beta3 out soon  ("Greg Sabino Mullane" <greg@turnstep.com>)
Responses Re: PG 8.1beta3 out soon
List pgsql-hackers

Greg Sabino Mullane wrote:

>
>Hmm...what if we did this?:
>
>Index: plperl.c
>===================================================================
>RCS file: /projects/cvsroot/pgsql/src/pl/plperl/plperl.c,v
>retrieving revision 1.92
>diff -r1.92 plperl.c
>671c671
><       XPUSHs(sv_2mortal(newSVpv("my $_TD=$_[0]; shift;", 0)));
>---
>  
>
>>      XPUSHs(sv_2mortal(newSVpv("our $_TD=$_[0]; shift;", 0)));
>>    
>>
>
>
>  
>

That would probably work, but it would ONLY deal with the issue for 
$_TD. In your function $event will still hit this problem.

see next email for sidcussion of warnings.

cheers

andrew


pgsql-hackers by date:

Previous
From: Emil Briggs
Date:
Subject: Re: Spinlocks and CPU Architectures
Next
From: "Ilia Kantor"
Date:
Subject: Re: slow IN() clause for many cases