[GENERAL] RAISE function misuse ?

2006-04-03 Thread Patrick Refondini
Hi, I obtain the following output: idns_target=# select test(); INFO: hello ! CONTEXT: SQL statement "SELECT hello()" PL/pgSQL function "test" line 2 at perform Using the two following functions: CREATE OR REPLACE FUNCTION hello() RETURNS void AS $$ BEGIN RAISE INFO 'hello !'; RETURN

Re: [GENERAL] RAISE function misuse ?

2006-04-05 Thread Patrick Refondini
Michael Fuhr wrote: On Mon, Apr 03, 2006 at 05:44:18PM +0200, Patrick Refondini wrote: idns_target=# select test(); INFO: hello ! CONTEXT: SQL statement "SELECT hello()" PL/pgSQL function "test" line 2 at perform [...] 1. Is there anything wrong using RAISE thi