Upgraded to pg v3.1