pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Brian Ghidinelli <brian@vfive.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #13970: Vacuum hangs on particular table; cannot be terminated - requires `kill -QUIT pid`
Date: Fri, 19 Feb 2016 19:16:45 -0800
Message-ID: <FD348869-15FB-440F-981C-DA8EAFE4C9E9@vfive.com> (raw)
In-Reply-To: <20160219214555.GA150237@alvherre.pgsql>
References: <20160219214555.GA150237@alvherre.pgsql>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Any chance that a DDL modification like adding a column would effect an update of those values across the table?

Brian 

> On Feb 19, 2016, at 13:45, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> 
> Here's another idea: just try SELECT FOR UPDATE on the offending tuple.
> As I recall, that code path has enough protections that we wouldn't try
> to read the members of the multixact even if we don't see it as below
> the horizon, simply by checking the infomask bits as I mentioned before.
> 
> You could try SELECT FOR UPDATE the complete table.  If you had debug
> symbols you could grab the specific TID that's giving you trouble from
> the backtrace ... but then the table is not *that* large.
> 
> -- 
> Álvaro Herrera                http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
> 
> 
> -- 
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (12+ messages)  latest in thread

Message-ID: <FD348869-15FB-440F-981C-DA8EAFE4C9E9@vfive.com>
Permalink:  ../FD348869-15FB-440F-981C-DA8EAFE4C9E9@vfive.com/
Also on:    postgresql.org/message-id/FD348869-15FB-440F-981C-DA8EAFE4C9E9@vfive.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: brian@vfive.com, alvherre@2ndquadrant.com
  Subject: Re: BUG #13970: Vacuum hangs on particular table; cannot be terminated - requires `kill -QUIT pid`
  In-Reply-To: <FD348869-15FB-440F-981C-DA8EAFE4C9E9@vfive.com>
  References: <20160219214555.GA150237@alvherre.pgsql> <FD348869-15FB-440F-981C-DA8EAFE4C9E9@vfive.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