pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: Michael Paquier <michael@paquier.xyz>
Cc: Masahiko Sawada <masahiko.sawada@2ndquadrant.com>
Cc: Mahendra Singh Thalor <mahi6run@gmail.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: tushar <tushar.ahuja@enterprisedb.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Vacuum o/p with (full 1, parallel 0) option throwing an error
Date: Tue, 14 Apr 2020 22:33:01 -0500
Message-ID: <20200415033301.GJ2228@telsasoft.com> (raw)
In-Reply-To: <CAA4eK1KDDi=EQSWK5cKz-kf=hEbe7DEQ-iW6LK3H37hYZ+GV3A@mail.gmail.com>
References: <CA+fd4k7cj3rO3prCydHQd_pXShQ2rYbUyEJWeE8o+sXtB_1xmg@mail.gmail.com>
	<20200409083319.GN2228@telsasoft.com>
	<CAA4eK1Ku4X-RYcT+h=ngE8Yt6fMCD2rXpAvG0rh=j=PS+K0zmg@mail.gmail.com>
	<20200410133532.GA2228@telsasoft.com>
	<CAA4eK1+o5V9_mGyLAcFvkFA0ZMjzwXk8JM89xfFSwjaVmO97zA@mail.gmail.com>
	<CA+fd4k5Kqfzo76SEzicxD_rWC+D1vPW9x80fwDosMPwAQJKGXg@mail.gmail.com>
	<CAA4eK1+zuccT0xWD6h97ib2WCe-4kNsfwKUA5FnDz3QwPYumnw@mail.gmail.com>
	<20200414022242.GG1492@paquier.xyz>
	<CAA4eK1K-xqoe4u8NbAcr-yxh6bhKQE4eNAhNsy8AM_NvcqWRwA@mail.gmail.com>
	<CAA4eK1KDDi=EQSWK5cKz-kf=hEbe7DEQ-iW6LK3H37hYZ+GV3A@mail.gmail.com>

On Wed, Apr 15, 2020 at 08:54:17AM +0530, Amit Kapila wrote:
> On Tue, Apr 14, 2020 at 8:55 AM Amit Kapila <amit.kapila16@gmail.com> wrote:
> >
> > On Tue, Apr 14, 2020 at 7:52 AM Michael Paquier <michael@paquier.xyz> wrote:
> > >
> >
> > > -VACUUM (PARALLEL 1) tmp; -- disables parallel vacuum option
> > > +VACUUM (PARALLEL 1) tmp; -- parallel vacuum disabled for temp tables
> > >  WARNING:  disabling parallel option of vacuum on "tmp" --- cannot  vacuum temporary tables in parallel
> > > +VACUUM (PARALLEL 0, FULL TRUE) tmp; -- can specify parallel disabled (even though that's implied by FULL)
> > >
> > > To fully close the gap in the tests, I would also add a test for
> > > (PARALLEL 1, FULL false) where FULL directly specified, even if that
> > > sounds like a nit.  That's fine to test even on a temporary table.
> > >
> >
> > Okay, I will do this once we agree on the error message stuff.
> >
> 
> I have changed one of the existing tests to test the option suggested
> by you.  Additionally, I have changed the docs as per suggestion from
> Sawada-san.  I haven't changed the error message.  Let me know if you
> have any more comments?

You did:
|...then the number of workers is determined based on the number of
|indexes that support parallel vacuum operation on the [-relation,-]{+relation+} and is further
|limited by <xref linkend="guc-max-parallel-workers-maintenance"/>.

I'd suggest to say instead:
|...then the number of workers is determined based on the number of
|indexes ON THE RELATION that support parallel vacuum operation, and is further
|limited by <xref linkend="guc-max-parallel-workers-maintenance"/>.

-- 
Justin





view thread (33+ messages)  latest in thread

Message-ID: <20200415033301.GJ2228@telsasoft.com>
Permalink:  ../20200415033301.GJ2228@telsasoft.com/
Also on:    postgresql.org/message-id/20200415033301.GJ2228@telsasoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: pryzby@telsasoft.com, amit.kapila16@gmail.com, michael@paquier.xyz, masahiko.sawada@2ndquadrant.com, mahi6run@gmail.com, robertmhaas@gmail.com, tushar.ahuja@enterprisedb.com
  Subject: Re: Vacuum o/p with (full 1, parallel 0) option throwing an error
  In-Reply-To: <20200415033301.GJ2228@telsasoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox