pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Fix inadequate locking during get_rel_oids().
Date: Mon, 5 Mar 2018 16:58:04 -0800
Message-ID: <20180306005804.wdqt2jd2kh2qzjpq@alap3.anarazel.de> (raw)
In-Reply-To: <30311.1520297603@sss.pgh.pa.us>
References: <E1dy1ru-0002RK-8q@gemulon.postgresql.org>
	<20180306001152.qxguen2kclystz7p@alap3.anarazel.de>
	<20180306003409.qwwdgn3bw4ifi5s4@alap3.anarazel.de>
	<30311.1520297603@sss.pgh.pa.us>

On 2018-03-05 19:53:23 -0500, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > Scratch that, we should be going down the
> > 	/* If caller supplied OID, there's nothing we need do here. */
> > branch in expand_vacuum_rel() for autovacuum, so this shouldn't
> > matter. Sorry for the noise
> 
> But you said you'd seen blocking behind AEL with NOWAIT, so there's
> still a problem for manual vacuums no?

Right. But that facility isn't yet exposed to SQL, just in the patch I'm
reviewing. So there's no issue with the code from the commit I'm
replying to.

In [1] I wrote about one idea how to resolve this for the proposed
patch.

Greetings,

Andres Freund

[1] https://www.postgresql.org/message-id/20180306005349.b65whmvj7z6hbe2y@alap3.anarazel.de




view thread (8+ messages)

Message-ID: <20180306005804.wdqt2jd2kh2qzjpq@alap3.anarazel.de>
Permalink:  ../20180306005804.wdqt2jd2kh2qzjpq@alap3.anarazel.de/
Also on:    postgresql.org/message-id/20180306005804.wdqt2jd2kh2qzjpq@alap3.anarazel.de

 · 

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-committers@postgresql.org
  Cc: andres@anarazel.de, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Fix inadequate locking during get_rel_oids().
  In-Reply-To: <20180306005804.wdqt2jd2kh2qzjpq@alap3.anarazel.de>
  References: <E1dy1ru-0002RK-8q@gemulon.postgresql.org> <20180306001152.qxguen2kclystz7p@alap3.anarazel.de> <20180306003409.qwwdgn3bw4ifi5s4@alap3.anarazel.de> <30311.1520297603@sss.pgh.pa.us> <20180306005804.wdqt2jd2kh2qzjpq@alap3.anarazel.de>

* 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