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

From Michael Paquier
Subject Re: pg_upgrade: Pass -j down to vacuumdb
Date
Msg-id 20190127124100.GA4672@paquier.xyz
Whole thread Raw
In response to Re: pg_upgrade: Pass -j down to vacuumdb  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Jan 25, 2019 at 12:16:49PM -0500, Tom Lane wrote:
> 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.

+1.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: relcache reference leak with pglogical replication toinsert-only partitioned table?
Next
From: Michael Paquier
Date:
Subject: Re: pg_basebackup, walreceiver and wal_sender_timeout