Re: PG 8.1beta3 out soon

Поиск
Список
Период
Сортировка
От Greg Sabino Mullane
Тема Re: PG 8.1beta3 out soon
Дата
Msg-id caf12df9a1ef1b7e5a8eb03f15d4e4d1@biglumber.com
обсуждение исходный текст
Ответ на Re: PG 8.1beta3 out soon  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: PG 8.1beta3 out soon  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message


> I don't think it's really a bug - it's a well known perl effect that has
> caught many people over the years, especially unwary users of
> Apache::Registry who fail to recognise that their scripts are being
> wrapped inside an anonymous subroutine.

Ah, ok, so it's a documentation bug! :)

> My take: we should document this better, but it ain't broke so it don't
> need fixing, although I would not object strenuously to changing the
> behaviour of $_TD.

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)));

--
Greg Sabino Mullane greg@turnstep.com
PGP Key: 0x14964AC8 200510110838
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iD8DBQFDS7J2vJuQZxSWSsgRAt7XAKC8D7HohA27CnaD7SVLrdKi80K49wCeI+o6
Tg9r3CSUeIV4872xuhZ0WBA=
=JRAX
-----END PGP SIGNATURE-----




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Spinlocks and CPU Architectures
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: PG 8.1beta3 out soon