Supports of multiple postgres installation per host for #1196