config database postgres adapter