changed tp postgresql