Forgot "RETURNING" in the `get_avar` SQL statement