vacuumdb: enable parallel mode

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: a17923204736d8842eade3517d6a8ee81290fca4
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2015-01-23T18:02:45Z
Releases: 9.5.0
vacuumdb: enable parallel mode

This mode allows vacuumdb to open several server connections to vacuum
or analyze several tables simultaneously.

Author: Dilip Kumar.  Some reworking by Álvaro Herrera
Reviewed by: Jeff Janes, Amit Kapila, Magnus Hagander, Andres Freund

Files

PathChange+/−
doc/src/sgml/ref/vacuumdb.sgml modified +24 −0
src/bin/pg_dump/parallel.c modified +1 −1
src/bin/scripts/common.c modified +16 −7
src/bin/scripts/common.h modified +6 −0
src/bin/scripts/vacuumdb.c modified +644 −153