Add postgresql.

Closes #40
Merge pull request #50 from jaswilli/pg

Add postgresql.