changing postgres dialect