Analysistool with postgresql