Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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.


In response to

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group