Re: [BUGS] at for over select rows

2003-05-29 Thread Tom Lane
[EMAIL PROTECTED] writes: > NOTICE: Error occurred while executing PL/pgSQL function apaga_constraint > NOTICE: line 20 at for over select rows > ERROR: parser: parse error at or near "$1" > DECLARE > qtdINTEGER; ^^^ > FOR registro IN > SELECT t.tgrelid, COUNT(t.tgn

[BUGS] at for over select rows

2003-05-29 Thread al_nunes
Hi, I couldn't find the logical error in my function, so I was wondering if there could be a bug. The function is created, but when I try to use it I get the following error message: NOTICE: Error occurred while executing PL/pgSQL function apaga_constraint NOTICE: line 20 at for over select row