pg_dump -U username -d db_name -t table_name –exclude-table-data table_name > table_structure.sql

Advertisements