how can I create the DML for an existing database - within an application - Mailing list pgsql-general

From Harald Armin Massa
Subject how can I create the DML for an existing database - within an application
Date
Msg-id 7be3f35d0604122250l5a408708me8d0d002f4d8e08c@mail.gmail.com
Whole thread Raw
List pgsql-general
I want to get the output from

pg_dump --struct-only --table=whatever

inside a programm. Of course I could call pg_dump in a seperate process and capture the output and all; but ...

as PGAdmin is doing it someway, I strongly suspect there is a kind of call to recreate the DML language from a table in the database. Please give me a hint!

--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Reinsburgstraße 202b
70197 Stuttgart
0173/9409607
-
PostgreSQL - supported by a community that does not put you on hold

pgsql-general by date:

Previous
From: "Gregory S. Williamson"
Date:
Subject: Re: Truncate and Foreign Key Constraint question
Next
From: "Magnus Hagander"
Date:
Subject: Re: how can I create the DML for an existing database - within an application