Hi, i think during restore we should not force user to use -C during cases like ./pg_restore pdd -g -f - ./pg_restore pdd -a -f - ./pg_restore pdd -s -f - because its not good to use -C to create database every time when we are using these options individually. latest patch throws following error for all the above cases
pg_restore: error: -C/--create option should be specified when restoring multiple databases by archive of pg_dumpall pg_restore: hint: Try "pg_restore --help" for more information. pg_restore: hint: If db is already created and dump has single db dump, then use particular dump file.