some chanfes for postgres congig and also add gemset