postgresql support
test and readme updates