From: Harald Armin Massa
[mailto:[EMAIL PROTECTED] Sent: 13 April 2006
09:37To: Dave PageSubject: Re: [GENERAL] how can I
create the DML for an existing database - within an
application
Dave,
>>
AFAIK, pgadmin opens a pipe to pg_dump.Yes, when creat
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Magnus Hagander
> Sent: 13 April 2006 08:40
> To: Harald Armin Massa; pgsql-general
> Subject: Re: [GENERAL] how can I create the DML for an
> existing database - within
> 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
I want to get the output frompg_dump --struct-only --table=whateverinside 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 t