psql show create table code example Example: show create table in postgresql pg_dump -t 'schema-name.table-name' --schema-only database-name