Re: pg_get_tabledef - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: pg_get_tabledef
Date
Msg-id 4651C6E7.7040309@dunslane.net
Whole thread Raw
In response to Re: pg_get_tabledef  ("Usama Munir" <usama.munir@enterprisedb.com>)
Responses Re: pg_get_tabledef
List pgsql-hackers

Usama Munir wrote:
> I think using pg_dump in some cases is a good option , but not all the 
> time, having a function makes it much cleaner to use

That's why having a shared pgdump library as has been previously 
mentioned is by far the best solution.

We have discussed this before, and factoring out this functionality into 
a shared lib is what needs to be done. I'm not convinced it is as much 
work as Tom suggests, but it is certainly a non-trivial task.

cheers

andrew


pgsql-hackers by date:

Previous
From: "Usama Munir"
Date:
Subject: Re: pg_get_tabledef
Next
From: "Jim C. Nasby"
Date:
Subject: Re: COPY into a view; help w. design & patch