Guys, sometimes I make stupid things...
I t was the END IF as all of you said...
Thanks for your exists.
Cheers,
Rodrigo
Tom Lane wrote:
Rodrigo Carvalhaes <[EMAIL PROTECTED]> writes:
I am trying to make an IF / ELSE / END IF inside of a FOR ... LOOP but I
am getting syntax error on this contol structure...
If I comment the IF / ELSE / ENDIF the fuction works ...
plpgsql wants "END IF" not "ENDIF".
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faq
--
Abraço,
Rodrigo Carvalhaes
DBA PostgreSQL
Moderador grupo siga-br
--
Esta mensagem foi verificada pelo sistema de antiv�rus e
acredita-se estar livre de perigo.
|