Re: [GSOC] questions about idea "rewrite pg_dump as library"

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: [GSOC] questions about idea "rewrite pg_dump as library"
Дата
Msg-id 5165D6A3.7080103@2ndQuadrant.com
обсуждение исходный текст
Ответ на Re: [GSOC] questions about idea "rewrite pg_dump as library"  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: [GSOC] questions about idea "rewrite pg_dump as library"  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On 04/10/2013 11:02 PM, Alvaro Herrera wrote:
> 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.
>
Natural solution to this seems to move most of pg_dump functionality
into backend as functions, so we have pg_dump_xxx() for everything
we want to dump plus a topological sort function for getting the
objects in right order.

The main things left into pg_dump the library would be support various ways
to format the dump results into text, tar and "dump" files.

--------------------
Hannu



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [GSOC] questions about idea "rewrite pg_dump as library"
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [GSOC] questions about idea "rewrite pg_dump as library"