Re: plperl & sort

From: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: plperl & sort
Date: 2008-11-06 01:01:31
Message-ID: 87iqr1hdlg.fsf@news-spur.riddles.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

>>>>> "Tom" == Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Andrew Gierth 2008-11-06 01:03:17 Re: plperl & sort
Previous Message Tom Lane 2008-11-05 23:56:43 Re: BUG #4513: VACUUM FULL fails with "out of memory" error