]> granicus.if.org Git - postgresql/commit
Allow BASE_BACKUP to be throttled
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 27 Feb 2014 21:55:57 +0000 (18:55 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 27 Feb 2014 21:55:57 +0000 (18:55 -0300)
commitef5856fd9b77ef9d0d0c31fb314bb61bbfb1d704
tree84d8474fbe8a9b5d2439fa7f294032ce42101b04
parent1161d895d826950cbb736e5872935f3f53cc2e27
Allow BASE_BACKUP to be throttled

A new MAX_RATE option allows imposing a limit to the network transfer
rate from the server side.  This is useful to limit the stress that
taking a base backup has on the server.

pg_basebackup is now able to specify a value to the server, too.

Author: Antonin Houska

Patch reviewed by Stefan Radomski, Andres Freund, Zoltán Böszörményi,
Fujii Masao, and Álvaro Herrera.
doc/src/sgml/protocol.sgml
doc/src/sgml/ref/pg_basebackup.sgml
src/backend/replication/basebackup.c
src/backend/replication/repl_gram.y
src/backend/replication/repl_scanner.l
src/bin/pg_basebackup/pg_basebackup.c
src/include/replication/basebackup.h