Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0x1j-0004qU-76 for pgsql-bugs@arkaria.postgresql.org; Wed, 19 Apr 2017 21:20:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1d0x1i-00033r-FX for pgsql-bugs@arkaria.postgresql.org; Wed, 19 Apr 2017 21:20:38 +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 1d0x1i-00033b-5x for pgsql-bugs@postgresql.org; Wed, 19 Apr 2017 21:20:38 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1d0x1f-0007dl-09 for pgsql-bugs@postgresql.org; Wed, 19 Apr 2017 21:20:37 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id v3JLKVho031590; Wed, 19 Apr 2017 17:20:31 -0400 From: Tom Lane To: Nico Williams cc: pgsql-bugs@postgresql.org Subject: Re: pg_dump(1) failures when concurrently refreshing mat views In-reply-to: <20170419193212.GD2856@localhost> References: <20170419193212.GD2856@localhost> Comments: In-reply-to Nico Williams message dated "Wed, 19 Apr 2017 14:32:13 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31588.1492636831.1@sss.pgh.pa.us> Date: Wed, 19 Apr 2017 17:20:31 -0400 Message-ID: <31589.1492636831@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) 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 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. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs