From: | Sergej Sergeev <ggray(at)inbox(dot)ru> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Cc: | plperlng-devel(at)pgfoundry(dot)org |
Subject: | Re: [Plperlng-devel] strange bug in plperl |
Date: | 2004-07-06 09:03:40 |
Message-ID: | 40EA6AEC.8050505@inbox.ru |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Atached patch fix this bug
Serg
Andrew Dunstan wrote:
>
> Can anyone suggest why I might be seeing this effect (each notice
> comes out once per row plus once per function call)
>
> thanks
>
> andrew
>
> andrew=# create function tstset() returns setof tst language plperl as $$
> andrew$# elog(NOTICE,"tstset called");
> andrew$# return [{i=>1,v=>"one"},{i=>2,v=>"two"}];
> andrew$# $$;
> CREATE FUNCTION
> andrew=# select * from tstset();
> NOTICE: tstset called
> NOTICE: tstset called
> NOTICE: tstset called
> i | v ---+-----
> 1 | one
> 2 | two
> (2 rows)
>
> _______________________________________________
> Plperlng-devel mailing list
> Plperlng-devel(at)pgfoundry(dot)org
> http://pgfoundry.org/mailman/listinfo/plperlng-devel
>
>
Attachment | Content-Type | Size |
---|---|---|
plperl.c.patch | text/plain | 1.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Christopher Kings-Lynne | 2004-07-06 09:08:18 | More thoughts on drop tablespace |
Previous Message | Christopher Kings-Lynne | 2004-07-06 09:00:06 | bug in DROP TABLESPACE |