The following bug has been logged on the website:
Bug reference: 13804
Logged by: Michael Vitale
Email address: pgdude(at)pgdude(dot)com
PostgreSQL version: 9.4.5
Operating system: Linux Redhat 7
Description:
pg_restore returns 1 return code indicating failure when it tries to create
the public schema using PG 9.4.5
Here is my command:
pg_restore -h host2 -p 5432 -d postgres -C -c --if-exists -Fd -j 6 -v /path
to my dumps/mydump
Same error using format: -Fc