The patch I recently sent it had a problem for PG versions before coerceViaIO existed.This corrects that, and fixes this for PG 8.1, 8.2, and Greenplum Database.