XM2 и postgres