From: | Craig Ringer <craig(at)2ndquadrant(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Alexandr <askellio(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: QSoC proposal: Rewrite pg_dump and pg_restore |
Date: | 2014-03-21 03:22:06 |
Message-ID: | 532BB05E.6020200@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 03/21/2014 11:09 AM, Tom Lane wrote:
> Craig Ringer <craig(at)2ndquadrant(dot)com> writes:
>> Here's how I think it needs to look:
>> [ move all the functionality to the backend ]
>
> Of course, after you've done all that work, you've got something that is
> of exactly zero use to its supposed principal use-case, pg_dump. pg_dump
> will still have to support server versions that predate all these fancy
> new dump functions, and that pretty much ensures that most of pg_dump's
> core functionality will still be on the client side. Or, if you try to
> finesse that problem by making sure the new server APIs correspond to
> easily-identified pieces of pg_dump code, you'll probably end up with APIs
> that nobody else wants to use :-(.
Yeah, that's why it's necessary to create a "libpqdump" that's usable
client-side even if you want server-side dump support.
So it's "allow the functionality to be used from the backend as well",
not just "move all the functionality to the backend".
--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Noah Misch | 2014-03-21 03:45:56 | Re: ALTER TABLE lock strength reduction patch is unsafe Reply-To: |
Previous Message | Tom Lane | 2014-03-21 03:09:40 | Re: QSoC proposal: Rewrite pg_dump and pg_restore |