Clean up postgres configuration