Re: pg_upgrade: Pass -j down to vacuumdb - Mailing list pgsql-hackers

From Tom Lane
Subject Re: pg_upgrade: Pass -j down to vacuumdb
Date
Msg-id 31929.1548436609@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_upgrade: Pass -j down to vacuumdb  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: pg_upgrade: Pass -j down to vacuumdb  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> So let's have it write with a $VACUUMDB_OPTS variable, which is by
> default defined as empty but with a comment suggesting that maybe the
> user wants to add the -j option.  This way, if they have to edit it,
> they only have to edit the VACUUMDB_OPTS line instead of each of the two
> vacuumdb lines.

Even better, allow the script to absorb a value from the environment,
so that it needn't be edited at all.

            regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pg_upgrade: Pass -j down to vacuumdb
Next
From: Oleksii Kliukin
Date:
Subject: Re: Connection slots reserved for replication