Luis =?iso-8859-1?q?Mart=EDnez?= <luimarma(at)iti(dot)upv(dot)es> writes:
> I am migrating from postgres 6.3.2 to 7.1 Beta6. After performing a
> pg_dumpall > backupfile on my old pgsql version I try to restore the data
> with psql -d template1 -f backupfile, but I get "Unable to locate type name
> 'char16' in catalog" on tables such as onek, tenk1 ,tenk2....
Those look suspiciously like tables in the regression tests; I bet you
ran the regression tests in 6.3.2 and never bothered to clean up afterwards.
Consider just cutting the whole regression-database section out of the
backupfile.
regards, tom lane