ENH: add basic postgresql support to io.sql

I added in basic postresql support