add basic postgresql support

I added in basic postresql support