Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0UOa-0002xM-3l for pgsql-hackers@arkaria.postgresql.org; Wed, 11 May 2016 13:41:48 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b0UOZ-0004oV-IN for pgsql-hackers@arkaria.postgresql.org; Wed, 11 May 2016 13:41:47 +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 1b0UND-00028T-K9 for pgsql-hackers@postgreSQL.org; Wed, 11 May 2016 13:40:23 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b0UNA-0007U7-Ip for pgsql-hackers@postgreSQL.org; Wed, 11 May 2016 13:40:22 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 3181021694 for ; Wed, 11 May 2016 09:40:19 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Wed, 11 May 2016 09:40:19 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=r3IgABaAP9/6YjV ZCbllDD8yppo=; b=DzdWhS2DK5J65UbFuSuuk72kpO7aajPc6e7KTM31L1WN7V+ ogKLLNRTq+fcG5VixVp08B/49f85gMOJEaDm2Ce3Kvxj88++aTaW+ZFUHknUlKbC W7Xqb+huwaeMx2kfm4OCn8M/FJ9sy2Mj2SzuF4ap/4SUFwHsmKRF39FYWHjY= X-Sasl-enc: X11h2ZEXI9cNc4AylrH4LUtyeGm9MwDKLsYKIQIaB5oz 1462974010 Received: from april.local (c-73-13-66-39.hsd1.pa.comcast.net [73.13.66.39]) by mail.messagingengine.com (Postfix) with ESMTPA id 36E2BC00032; Wed, 11 May 2016 09:40:10 -0400 (EDT) Subject: Re: ALTER TABLE lock downgrades have broken pg_upgrade To: Alvaro Herrera , Stephen Frost References: <20160503172541.GA31942@alvherre.pgsql> Cc: Tom Lane , pgsql-hackers@postgreSQL.org From: Peter Eisentraut Organization: 2ndQuadrant Message-ID: Date: Wed, 11 May 2016 09:40:09 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <20160503172541.GA31942@alvherre.pgsql> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) 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 On 5/3/16 1:25 PM, Alvaro Herrera wrote: > If we can put together a script that runs test.sh for various versions > and then verifies the runs, we could use it in both buildfarm and > coverage. Not that that would be useless, but note that the value in this case (and most others) comes from having a candidate object in the database before upgrade that exercises the particular problem, mostly independent of what version you upgrade from and to. So far the way to do that is to leave "junk" in the regression test database, but that's clearly a bit silly. I think the way forward is to create a TAP test suite for pg_upgrade that specifically exercises a lot of scenarios with small purpose-built test databases. Then, the problem of having to compare dump output across versions also goes away more easily. -- Peter Eisentraut http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers