Finish postgres db config