Add a note after looking at older plpgsql function