postgresql plpgsql select into multiple variables