smart postgres manager