Get DDL for all schema in your database in Greenplum

posted Apr 28, 2017, 10:29 AM by Sachchida Ojha
$pg_dump -s  -c  sachi

where sachi is the database name.
You can redirect it to a file 

$pg_dump -s  -c  sachi>>ddl_sachi.sql
Comments