updating findcommonname postgres function for UCBG

... sql extension