Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0x54-00057A-QP for pgsql-bugs@arkaria.postgresql.org; Wed, 19 Apr 2017 21:24:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d0x54-0004Mz-DB for pgsql-bugs@arkaria.postgresql.org; Wed, 19 Apr 2017 21:24:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d0x53-0004Mp-UZ for pgsql-bugs@postgresql.org; Wed, 19 Apr 2017 21:24:05 +0000 Received: from sub4.mail.dreamhost.com ([69.163.253.135] helo=homiemail-a88.g.dreamhost.com) by magus.postgresql.org with esmtps (TLS1.1:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1d0x50-0007ex-Vs for pgsql-bugs@postgresql.org; Wed, 19 Apr 2017 21:24:05 +0000 Received: from homiemail-a88.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a88.g.dreamhost.com (Postfix) with ESMTP id 4E3CDA003A24; Wed, 19 Apr 2017 14:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=+PXxQYtNFx1d6i s8nSXCWt6HqDQ=; b=Q2nxOLQcPw4WEnZGYdgwqV7/0dpfgB4QdRcToYSnOTN5DB FsmisKacpQ7FgzZkbpLul2otldG2E2cd8SmYR83tvur8ohZi0Ph6aaTNpGcI3STU GLG6EuQpkhPF4QXBVYKaTkQm8EB+tr6gZx0K5Go94h5xOn7Jq0F6t9oHDZ7kg= Received: from localhost (cpe-70-123-158-140.austin.res.rr.com [70.123.158.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a88.g.dreamhost.com (Postfix) with ESMTPSA id D192CA003A1E; Wed, 19 Apr 2017 14:23:59 -0700 (PDT) Date: Wed, 19 Apr 2017 16:23:56 -0500 From: Nico Williams To: Tom Lane Cc: pgsql-bugs@postgresql.org Subject: Re: pg_dump(1) failures when concurrently refreshing mat views Message-ID: <20170419212356.GA2844@localhost> References: <20170419193212.GD2856@localhost> <31589.1492636831@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <31589.1492636831@sss.pgh.pa.us> User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -4.8 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Wed, Apr 19, 2017 at 05:20:31PM -0400, Tom Lane wrote: > Nico Williams writes: > > pg_dump(1) gets an EXCLUSIVE LOCK with NOWAIT > > ... uh, really? It's not supposed to take anything higher than ACCESS > SHARE, which should coexist fine with anything short of ACCESS EXCLUSIVE. Whoops, sorry, that's a mistake in drafting the report. You're right, it takes an ACCESS SHARE MODE lock, NOWAIT. The remainder of the report remains correct. Nico -- -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs