PostgreSQL uses "elsif" instead of "else if"