Neil Conway <neilc(at)samurai(dot)com> writes:
> This patch fixes a bug in the error message emitted by pg_restore on an
> incorrect -F argument: write_msg() expects its first parameter to be a
> "module name", not the format string. Patch applied to HEAD. Is this
> worth backporting?
Certainly --- particularly if the error makes it dump core, as seems
likely (haven't tried it).
> BTW, is there a reason that pg_restore seems to accept 'f', 't', or 'c'
> parameters to this argument, but the documentation only documents 't'
> and 'c'?
I think the 'f' option is only intended for debugging purposes ...
Philip would know ...
regards, tom lane