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