Add support for postgresql