Re: plperl & sort - Mailing list pgsql-bugs

From Andrew Gierth
Subject Re: plperl & sort
Date
Msg-id 87iqr1hdlg.fsf@news-spur.riddles.org.uk
Whole thread Raw
In response to Re: plperl & sort  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:

 >> Nice theory, but completely wrong: sort creates $a and $b in the
 >> current package, not in main::.

 Tom> Hmm ... so then why are we seeing a failure?

FWIW, I _don't_ see the failure. It seems to occur ONLY if perl was
built with threading support (ithreads). Without ithreads, I can't
reproduce it (I've tried enabling and disabling multiplicity with no
effect, so it's not that).

Ithreads seem to be the default on many linux package builds of perl.
It is _not_ the default on FreeBSD.

--
Andrew.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #4513: VACUUM FULL fails with "out of memory" error
Next
From: "Alex Hunsaker"
Date:
Subject: Re: plperl & sort