postgres get create table statement for table code example
Example: show create table in postgresql
pg_dump -t 'schema-name.table-name' --schema-only database-name
pg_dump -t 'schema-name.table-name' --schema-only database-name