Re: DDL / DML question - Mailing list pgsql-general

From Tom Lane
Subject Re: DDL / DML question
Date
Msg-id 29855.1028298262@sss.pgh.pa.us
Whole thread Raw
In response to DDL / DML question  ("Johnson, Shaunn" <SJohnson6@bcbsm.com>)
List pgsql-general
"Johnson, Shaunn" <SJohnson6@bcbsm.com> writes:
> I've been asked to generate a list of all DDL and DML
> statements.  (We are testing a few environments and
> DB2 UDB and Oracle 9 are some of the other databases).

> I am looking at some (old) notes in the newsgroup and I see
> 'pg_dump -S <database>' as an answer, but this doesn't seem to
> be right.

I think what you are looking for is "pg_dump -s" (schema-only dump).

            regards, tom lane

pgsql-general by date:

Previous
From: George.T.Essig@stls.frb.org
Date:
Subject: Open Source Conference Talks Online
Next
From: Oleg Bartunov
Date:
Subject: Re: Postgres and Perl: Which DBI module?