pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: Haribabu Kommi <kommi.haribabu@gmail.com>
Cc: Thom Brown <thom@linux.com>
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Cc: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: pgsql-hackers@postgresql.org <pgsql-hackers@postgresql.org>
Subject: Re: Breakage with VACUUM ANALYSE + partitions
Date: Tue, 5 Apr 2016 20:57:00 -0400
Message-ID: <20160406005700.GA1664259@tornado.leadboat.com> (raw)
In-Reply-To: <CA+TgmoYEku8CGaQ7me5+T0Q82jKMrQHPcpOApogag0K2KbiAkQ@mail.gmail.com>
References: <CAA-aLv6Dp_ZsV-44QA-2zgkqWKQq=GedBX2dRSrWpxqovXK=Pg@mail.gmail.com>
	<CA+TgmoY+jsmZDiRBoNXoYrpM=AkjWx-o_v3pxLo1RPu0JkD17A@mail.gmail.com>
	<CAJrrPGd5ks_r94FEUBs_EA30o5_oVuO6KvOLcVGcigauKKZHdQ@mail.gmail.com>
	<CA+TgmoZiF3_hG8-M6hq_Z-O=VoyNd9FtbmVTw+YcM+Fn-m_rfw@mail.gmail.com>
	<CAB7nPqSBFmh5cQjpRbFBp9Rkv1nF=Nh2o1FxKkJ6yvOBtvYDBA@mail.gmail.com>
	<CA+TgmobDyysoEX0GQVaPwYHk-joMJWyUkpiuyc6w656ewB_Hig@mail.gmail.com>
	<20160326123942.qnuwqg3yg2y7ae4p@alap3.anarazel.de>
	<CA+TgmoYEku8CGaQ7me5+T0Q82jKMrQHPcpOApogag0K2KbiAkQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

On Mon, Apr 04, 2016 at 12:45:25PM -0400, Robert Haas wrote:
> Backends shouldn't be requesting nonexistent blocks from a relation -
> higher-level safeguards, like holding AccessExclusiveLock before
> trying to complete a DROP or TRUNCATE - are supposed to prevent that.
> If this patch is causing us to hold onto smgr references to a relation
> on which we no longer hold locks, I think that's irretrievably broken
> and should be reverted.  I really doubt this will be the only thing
> that goes wrong if you do that.

+1


-- 
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 (64+ messages)  latest in thread

Message-ID: <20160406005700.GA1664259@tornado.leadboat.com>
Permalink:  ../20160406005700.GA1664259@tornado.leadboat.com/
Also on:    postgresql.org/message-id/20160406005700.GA1664259@tornado.leadboat.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: noah@leadboat.com, robertmhaas@gmail.com, andres@anarazel.de, michael.paquier@gmail.com, kommi.haribabu@gmail.com, thom@linux.com, coelho@cri.ensmp.fr, pgsql-hackers@postgresql.org
  Subject: Re: Breakage with VACUUM ANALYSE + partitions
  In-Reply-To: <20160406005700.GA1664259@tornado.leadboat.com>
  References: <CAA-aLv6Dp_ZsV-44QA-2zgkqWKQq=GedBX2dRSrWpxqovXK=Pg@mail.gmail.com> <CA+TgmoY+jsmZDiRBoNXoYrpM=AkjWx-o_v3pxLo1RPu0JkD17A@mail.gmail.com> <CAJrrPGd5ks_r94FEUBs_EA30o5_oVuO6KvOLcVGcigauKKZHdQ@mail.gmail.com> <CA+TgmoZiF3_hG8-M6hq_Z-O=VoyNd9FtbmVTw+YcM+Fn-m_rfw@mail.gmail.com> <CAB7nPqSBFmh5cQjpRbFBp9Rkv1nF=Nh2o1FxKkJ6yvOBtvYDBA@mail.gmail.com> <CA+TgmobDyysoEX0GQVaPwYHk-joMJWyUkpiuyc6w656ewB_Hig@mail.gmail.com> <20160326123942.qnuwqg3yg2y7ae4p@alap3.anarazel.de> <CA+TgmoYEku8CGaQ7me5+T0Q82jKMrQHPcpOApogag0K2KbiAkQ@mail.gmail.com> <20160406005700.GA1664259@tornado.leadboat.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