allow non-postgres databases to work too