You should probably look at the pg_extractor utility.
https://github.com/omniti-labs/pg_extractor
--
https://github.com/omniti-labs/pg_extractor
With it, you can dump individual or selected objects to separate directories.
On Mon, Nov 24, 2014 at 11:00 AM, Alvaro Herrera <alvherre@xxxxxxxxxxxxxxx> wrote:
Berend Tober wrote:
> Is there a good way to individually list the DDL for all individual data
> base objects?
These threads might interest you:
http://www.postgresql.org/message-id/AANLkTikLHA2x6U=q-t0j0YS78txHFmdtyxJfsrsRcLqN@xxxxxxxxxxxxxx
http://www.postgresql.org/message-id/CAASwCXdKROy2UHLof4Zvxx00goSccqXkg_g4Yf9vOuK8aXWh0g@xxxxxxxxxxxxxx
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
--
Melvin Davidson
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.
I reserve the right to fantasize. Whether or not you
wish to share my fantasy is entirely up to you.