Chris Ruprecht <chrup999(at)yahoo(dot)com> writes:
> The problem is, that the file which contains the pg_dump data is 2.8
> GB in size and I don't want to tackle that with an editor.
It may be too late if you already started the dump, but --- you could
easily avoid that issue by dumping schema and data separately.
Otherwise, consider using "sed" or some such to make the substitutions.
regards, tom lane