1. PostgreSQL 16 Documentation, pgdump: In the description of command-line options, the -F format or --format=format option is detailed. For the custom (c) format, it states: "Output a custom-format archive suitable for input into pgrestore. ... This format is also compressed by default."
Source: PostgreSQL Documentation, Server Administration, Backup and Restore, pgdump, Options section.
2. PostgreSQL 16 Documentation, pgrestore: The documentation's introductory paragraph clarifies its purpose: "pgrestore is a utility for restoring a PostgreSQL database from an archive created by pgdump in one of the non-plain-text formats (custom, directory, or tar)."
Source: PostgreSQL Documentation, Server Administration, Backup and Restore, pgrestore, Description section.
3. PostgreSQL 16 Documentation, pgbasebackup: The documentation describes its function for physical backups and its own compression methods: "pgbasebackup can make a base backup... The backup is made over a regular PostgreSQL connection... It can be created in either plain format... or as a tar archive." It mentions the -Z option for gzip compression, which is distinct from the pgdump custom format.
Source: PostgreSQL Documentation, Server Administration, Backup and Restore, pgbasebackup, Description section.