Add postgres state