New patch attached (again, both attachments are the same, but one was
passed through filterdiff to get a context diff).
Done:
 * fixed the problem Dean Rasheed found using his test script
 * some cleanup
Items remaining:
 * psql
 * pg_dump
 * self-review before RRR
 * performance testing
Regards,
    Jeff Davis