move postgres dialect into own package