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

From Dave Page
Subject Re: how can I create the DML for an existing database - within an application
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C9C84@ratbert.vale-housing.co.uk
Whole thread Raw
In response to how can I create the DML for an existing database - within an application  ("Harald Armin Massa" <haraldarminmassa@gmail.com>)
List pgsql-general
 


From: Harald Armin Massa [mailto:haraldarminmassa@gmail.com]
Sent: 13 April 2006 09:37
To: Dave Page
Subject: 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 creating an actual backup. To display the definition on the
main window it goes to great pains to reverse engineer the SQL from the
catalogues.

do you think it is possible to "isolate that pain" within the source and expose it as a module? Or do you think this would be way to difficult? 

 
That would require significant restructuring of pgAdmin's code, in a way that would not make it more usable within pgAdmin. It's not something we would consider doing.
 
Regards, Dave. 

pgsql-general by date:

Previous
From: Paolo Sala
Date:
Subject: unattened dump
Next
From: Martijn van Oosterhout
Date:
Subject: Re: unattened dump