Re: error on last line of function
От
Tom Lane
Тема
Re: error on last line of function
Дата
Msg-id
4637.1038236119@sss.pgh.pa.us
Ответ на
Re: error on last line of function (Richard Huxton)
Список
Дерево обсуждения
error on last line of function Matthew Nuzum <cobalt@bearfruit.org>
Re: error on last line of function Richard Huxton <dev@archonet.com>
Re: error on last line of function Tom Lane <tgl@sss.pgh.pa.us>
Richard Huxton writes: > I think the problem is you're missing the "END IF" from all the intermediate > IFs. I don't think there actually is an "ELSEIF" structure, it's just an ELSE > followed by an IF, so the IF needs to be concluded as normal. Recent releases (at least 7.2 and later) have an ELSIF abbrevation too. See http://www.ca.postgresql.org/users-lounge/docs/7.2/postgres/plpgsql-control-structures.html regards, tom lane
В списке pgsql-general по дате отправления