Re: [ADMIN] LOOP and EXIT

2005-07-14 Thread Stephan Szabo
On Tue, 12 Jul 2005, [iso-8859-1] Sebastian Kühner wrote: > Hello, > > I'm new here in this group... and I hope that I find the solution for my > problem here. > > I wrote a simple function which looks like this: > > CREATE OR REPLACE FUNCTION watchdog() RETURNS TIME AS ' > DECLARE > watchdog_c

[ADMIN] LOOP and EXIT

2005-07-13 Thread Sebastian Kühner
Hello, I'm new here in this group... and I hope that I find the solution for my problem here. I wrote a simple function which looks like this: CREATE OR REPLACE FUNCTION watchdog() RETURNS TIME AS ' DECLARE watchdog_control RECORD; help RECORD; BEGIN LOOP PERFORM * FROM watchdog_ctl;