pgsql-bugs(at)postgresql(dot)org writes:
> The notice message raised by a plperl function is flushed into the server log file only when that client is disconnected and the client does not receive the message. On the other hand, the notice raised by a plpgsql function are flushed into the server log immediately.
Difficult to believe, since they both call elog() which does a write(2,...)
--- I see no way that perl could screw that up ...
regards, tom lane