I want to exclude a sequence from my pg_dump command which is putting the output into a plain file.
Command: /Library/PostgreSQL/8.4/bin/pg_dump --host localhos
If the sequence is owned by a table you can exclude both the sequence and the table using -T, such as:
pg_dump -T table -T table_id_seq