Remove server support for old BASE_BACKUP command syntax.
Robert Haas <rhaas@postgresql.org>
Remove server support for old BASE_BACKUP command syntax. Commit 0ba281cb4bf9f5f65529dfa4c8282abb734dd454 added a new syntax for the BASE_BACKUP command, with extensible options, but maintained support for the legacy syntax. This isn't important for PostgreSQL, where pg_basebackup works with older server versions but not newer ones, but it could in theory matter for out-of-core users of the replication protocol. Discussion on pgsql-hackers, however, suggests that no one is aware of any out-of-core use of the BASE_BACKUP command, and the consensus is in favor of removing support for the old syntax to simplify the code, so do that. Discussion: http://postgr.es/m/CA+TgmoazKcKUWtqVa0xZqSzbKgTH+X-aw4V7GyLD68EpDLMh8A@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/protocol.sgml | modified | +0 −11 |
| src/backend/replication/repl_gram.y | modified | +4 −93 |
| src/backend/replication/repl_scanner.l | modified | +0 −10 |
Documentation touched
Discussion
- is the base backup protocol used by out-of-core tools? 12 messages · 2022-02-08 → 2022-02-10