How to get redshift DDL programmatically?

Viewed 24

Iam using pg_dump command for dumping the ddl. but it's not giving me the distkey and sortkey is there other way to get a full length ddl with create statment (with distkey & sortkey), alter statment, comment on columns and table and grant statement. Please help me ouy

1 Answers
Related