[postgres] Support 4.x