problem is not postgres (...I think.)