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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: ˧ <shuai900217(at)126(dot)com>
Cc: 'PostgreSQL-development' <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GSOC] questions about idea "rewrite pg_dump as library"
Date: 2013-04-10 19:59:13
Message-ID: 5165C491.8080508@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 4/10/13 10:54 AM, ˧ wrote:
> I'm interested in the idea "Rewrite (add) pg_dump and pg_restore
> utilities as libraries (.so, .dll & .dylib)".

The pg_dump code is a giant mess, and refactoring it as a library is
perhaps not a project for a new hacker.

Independent of that, I think the first consideration in such a project
would be, who else would be using that library? What are the use cases?
And then come up with an interface around that, and then see about
refactoring pg_dump.

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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2013-04-10 21:02:56 Re: [GSOC] questions about idea "rewrite pg_dump as library"
Previous Message Simon Riggs 2013-04-10 19:17:08 Re: Enabling Checksums