Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az3Xu-0000m8-OX for pgsql-hackers@arkaria.postgresql.org; Sat, 07 May 2016 14:49:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1az3Xt-0002yo-9e for pgsql-hackers@arkaria.postgresql.org; Sat, 07 May 2016 14:49:29 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1az3Xs-0002yi-PG for pgsql-hackers@postgresql.org; Sat, 07 May 2016 14:49:28 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1az3Xk-0000CV-TR for pgsql-hackers@postgresql.org; Sat, 07 May 2016 14:49:26 +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 u47EnIxU001628; Sat, 7 May 2016 10:49:19 -0400 From: Tom Lane To: Simon Riggs cc: PostgreSQL-development Subject: Re: ALTER TABLE lock downgrades have broken pg_upgrade In-reply-to: References: <8110.1462291671@sss.pgh.pa.us> Comments: In-reply-to Simon Riggs message dated "Sat, 07 May 2016 09:50:26 +0200" Date: Sat, 07 May 2016 10:49:18 -0400 Message-ID: <1627.1462632558@sss.pgh.pa.us> X-Pg-Spam-Score: -4.0 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Simon Riggs writes: > On 3 May 2016 at 18:07, Tom Lane wrote: >> Or at least, it did until Simon decided that ALTER TABLE RESET >> doesn't require AccessExclusiveLock. > On reflection, this still seems like a good idea. Yes, what pg_upgrade was doing was clearly a hack, and not a very nice one. > I accept that it is my bug and should fix it. It's moot at this point, see 1a2c17f8e. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers