Dump DDL for all schema in your database to a file in Greenplum

posted Oct 30, 2014, 10:20 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