pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bossart, Nathan <bossartn@amazon.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: lyes.amd@gmail.com <lyes.amd@gmail.com>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: BUG #14941: Vacuum crashes
Date: Fri, 1 Dec 2017 21:16:30 +0000
Message-ID: <F7AE1E78-4C3A-4D2D-84EE-68E8D8898E6D@amazon.com> (raw)
In-Reply-To: <CA+TgmoY3Azn-6cuuuV7KSJ=eFErJiVpyzUXEQF6J32aCzLLkHg@mail.gmail.com>
References: <20171201160907.27110.74730@wrigleys.postgresql.org>
	<cabd2b8a-ebbc-ad38-3ca2-113882afd12a@2ndquadrant.com>
	<1E4815BF-18D2-4184-989A-975728F59B88@amazon.com>
	<CA+TgmoY3Azn-6cuuuV7KSJ=eFErJiVpyzUXEQF6J32aCzLLkHg@mail.gmail.com>

On 12/1/17, 3:04 PM, "Robert Haas" <robertmhaas@gmail.com> wrote:
> On Fri, Dec 1, 2017 at 1:53 PM, Bossart, Nathan <bossartn@amazon.com> wrote:
>> There is already an internal flag called VACOPT_NOWAIT that gives
>> autovacuum this ability in certain cases (introduced in the aforementioned
>> commit), and I recently brought up this potential use-case as
>> justification for a patch [0].  I'd be happy to submit a patch for
>> providing VACOPT_NOWAIT to users if others think it's something we should
>> do.
>
> Seems entirely reasonable to me, provided that we only update the
> extensible-options syntax:
>
> VACUUM [ ( option [, ...] ) ] [ table_and_columns [, ...] ]
>
> I don't want to add any more options to the older syntax:
>
> VACUUM [ FULL ] [ FREEZE ] [ VERBOSE ] [ ANALYZE ] [ table_and_columns [, ...] ]

Right.  This seems like the right path forward to me, as the
VACUUM documentation states that the unparenthesized syntax is
deprecated, and the DISABLE_PAGE_SKIPPING option was not added
to the old syntax, either.

> I am slightly confused as to how we got on to this topic since the
> subject is "Vacuum crashes", but perhaps Lyes was simply speaking
> imprecisely.

I'm hoping Lyes chimes in soon to clarify if I am interpreting
the original report incorrectly.

Nathan



view thread (42+ messages)  latest in thread

Message-ID: <F7AE1E78-4C3A-4D2D-84EE-68E8D8898E6D@amazon.com>
Permalink:  ../F7AE1E78-4C3A-4D2D-84EE-68E8D8898E6D@amazon.com/
Also on:    postgresql.org/message-id/F7AE1E78-4C3A-4D2D-84EE-68E8D8898E6D@amazon.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: bossartn@amazon.com, robertmhaas@gmail.com, tomas.vondra@2ndquadrant.com, lyes.amd@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: BUG #14941: Vacuum crashes
  In-Reply-To: <F7AE1E78-4C3A-4D2D-84EE-68E8D8898E6D@amazon.com>
  References: <20171201160907.27110.74730@wrigleys.postgresql.org> <cabd2b8a-ebbc-ad38-3ca2-113882afd12a@2ndquadrant.com> <1E4815BF-18D2-4184-989A-975728F59B88@amazon.com> <CA+TgmoY3Azn-6cuuuV7KSJ=eFErJiVpyzUXEQF6J32aCzLLkHg@mail.gmail.com> <F7AE1E78-4C3A-4D2D-84EE-68E8D8898E6D@amazon.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