Re: QSoC proposal: Rewrite pg_dump and pg_restore

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: QSoC proposal: Rewrite pg_dump and pg_restore
Дата
Msg-id CA+TgmoYHkincYm29JRREcMLXbj9y+Erob5wB+EmBCAzn7Qkymg@mail.gmail.com
обсуждение исходный текст
Ответ на QSoC proposal: Rewrite pg_dump and pg_restore  (Alexandr <askellio@gmail.com>)
Ответы Re: QSoC proposal: Rewrite pg_dump and pg_restore  (Craig Ringer <craig@2ndquadrant.com>)
Список pgsql-hackers
On Tue, Mar 18, 2014 at 8:41 PM, Alexandr <askellio@gmail.com> wrote:
> Rewrite (add) pg_dump and pg_restore utilities as libraries (.so, .dll &
> .dylib)

This strikes me as (1) pretty vague and (2) probably too hard for a
summer project.

I mean, getting the existing binaries to build libraries that you can
call with some trivial interface that mimics the existing command-line
functionality of pg_dump might be doable, but that's not all that
interesting.  What people are really going to want is a library with a
sophisticated API that lets you do interesting things
programmatically.  But that's going to be hard.  AFAIK, nobody's even
tried to figure out what that API should look like.  Even if we had
that worked out, a non-trivial task, the pg_dump source code is a
mess, so refactoring it to provide such an API is likely to be a job
and a half.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



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

Предыдущее
От: "Behn, Edward (EBEHN)"
Дата:
Сообщение: Array of composite types returned from python
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: