title: Is there a way to get pg_dump to exclude a specific sequence?
body: <p>I want to exclude a sequence from my pg_dump command which is putting the output into a plain file. </p>
  
  <pre><code>Command: /Library/PostgreSQL/8.4/bin/pg_dump --host localhost --port 5433 --username xxx --format plain --clean --inserts --verbose --file /Users/xxx/documents/output/SYSTEM_admin_20131126015325.sql --exclude-table public.table1 --exclude-table public.table2 mydatabase
  </code></pre>
  
  <p>I know there are switches for tables which i am using above and that you can enable/disable database objects in the tar format in combination with pg_restore as stated in the <a href="http://www.postgresql.org/docs/8.4/static/app-pgdump.html">pg_dump documentation</a> but I will not be using pg_restore.</p>
  
  <p>Many Thanks</p>
  
  <p>Graham</p>