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

From Peter Eisentraut
Subject Re: pg_upgrade: Pass -j down to vacuumdb
Date
Msg-id aeea26f9-f42b-8570-9ee1-304c4f33281b@2ndquadrant.com
Whole thread Raw
In response to Re: pg_upgrade: Pass -j down to vacuumdb  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pg_upgrade: Pass -j down to vacuumdb  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On 25/01/2019 11:28, Michael Paquier wrote:
> based on that linking the value used by pg_upgrade and vacuumdb is a
> bad concept in my opinion, and the patch should be rejected.  More
> documentation on pg_upgrade side to explain that a bit better could be
> a good idea though, as it is perfectly possible to use your own
> post-upgrade script or rewrite partially the generated one.

Right.  pg_upgrade doesn't actually call vacuumdb.  It creates a script
that you may use.  The script itself contains a comment that says, if
you want to do this as fast as possible, don't use this script.  That
comment could be enhanced to suggest the use of the -j option.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS][PATCH] Applying PMDK to WAL operations for persistentmemory
Next
From: "Daniel Verite"
Date:
Subject: Re: backslash-dot quoting in COPY CSV