Add patch for Postgres 8.1.