Peter Eisentraut wrote:
> I think the main uses cases mentioned in connection with this idea are
> usually in the direction of finer-grained control over what gets dumped
> and how. But making pg_dump into a library would not necessarily
> address that.
There's also the matter of embedding pg_dump into other programs. For
example, calling the pg_dump executable from inside pgAdmin is a rather
messy solution to the problem.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services