Re: BUG #5571: global hash %_SHARED is not declared as global in the new version

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: BUG #5571: global hash %_SHARED is not declared as global in the new version
Дата
Msg-id 1280204319-sup-3982@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: BUG #5571: global hash %_SHARED is not declared as global in the new version  (Alex Hunsaker <badalex@gmail.com>)
Список pgsql-bugs
Excerpts from Alex Hunsaker's message of lun jul 26 12:55:34 -0400 2010:
> On Mon, Jul 26, 2010 at 03:58, mile <mile@avangardsolutions.com> wrote:
> > To reproduce this use the following function:
> >
> > create or replace function perl_shared() returns void as $$
> > use strict;
> > elog(INFO, $_SHARED{'stuff'});
> > $_SHARED{'stuff'} = '1';
> > for my $k (keys %_SHARED)
> > {
> >    elog(INFO, $k);
> > }
> > $$ language plperl;
>
> Great, Thanks!  The below patch fixes it for me.

Thanks, applied to 9.0 and HEAD.  I added a simple regression test too.

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: BUG #5572: Error Trying to connec from Crystal Reports to Sever PostgreSQL
Следующее
От: "Vimi"
Дата:
Сообщение: BUG #5573: How can i add field inbetween in the table while creating