o  support migration from Postgres 8.2 to 8.4?
o  remove copy_dir code, or use it
