Re: is the base backup protocol used by out-of-core tools?

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: David Steele <david@pgmasters.net>
Cc: Justin Pryzby <pryzby@telsasoft.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-02-08T18:59:16Z
Lists: pgsql-hackers
On Tue, Feb 8, 2022 at 1:52 PM David Steele <david@pgmasters.net> wrote:
> I'm aware of several tools that use pg_basebackup but they are using the
> command-line tool, not the server protocol directly.

Good to know.

> Personally, I'm in favor of simplifying the code on the server side. If
> anyone is using the protocol directly (which I kind of doubt) I imagine
> they would want to take advantage of all the new features that have been
> added.

I agree, and I'm glad you do too, but I thought it was worth asking.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



Commits

  1. Remove server support for the previous base backup protocol.

  2. Remove server support for old BASE_BACKUP command syntax.

  3. Modify pg_basebackup to use a new COPY subprotocol for base backups.

  4. Flexible options for BASE_BACKUP.