Restore error -- database escape problem?

I have seen this before … I think its related to trying to restore incompatible versions of pg.