I wrote:> We should probably try to make pg_restore smarter about this case,
I've applied a patch for this:http://archives.postgresql.org/pgsql-committers/2010-08/msg00271.php
regards, tom lane