RE: plpgsql freeradius authentication function