Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gPgf6-00006p-QA for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Nov 2018 04:32:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gPgf5-0002Dh-AD for pgsql-hackers@arkaria.postgresql.org; Thu, 22 Nov 2018 04:32:19 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1gPgf4-0002DD-Vz for pgsql-hackers@lists.postgresql.org; Thu, 22 Nov 2018 04:32:19 +0000 Received: from mail-yw1-xc2c.google.com ([2607:f8b0:4864:20::c2c]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gPgex-0005vm-JJ for pgsql-hackers@postgresql.org; Thu, 22 Nov 2018 04:32:18 +0000 Received: by mail-yw1-xc2c.google.com with SMTP id f65so3144946ywc.8 for ; Wed, 21 Nov 2018 20:32:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=0/F/SqMsyhdZtx8W9yYBHKCNyWTdLhgP4CKTfPiiYYA=; b=xDmaVjeyd2IM8+0NWtQ4qo/qu3yRvzBuBqZjlL6mZOanp1aEiECORCd3+H0NW6h3Xa Mg4MMPvZI3iArcpQYfwuzWDYfD61oEi3qrZ7bWDykuGcnHxBWjuOFRCZk0whk5dWfNgW ZWbOTjq65NPGGbnb5wt5mXZe/o/W7IfosTBHlEOBxnHQ0SzUfgATn192xHqmO4j/i/Uf jZ4Q1alzjQvvOMGQUc5eHvC4mh0iKsjp4gG3pbXW/tfqNHXDA+IlyIE+4oxOHcUvf+8h Zg7eQmUKMovZkIUPuEN23J7v3/8nW8J8K5Unquouw5rQTNVmQ203P6/lN3Pky0icmDmn fELg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=0/F/SqMsyhdZtx8W9yYBHKCNyWTdLhgP4CKTfPiiYYA=; b=kf9GQgOB6arECngaWOY2vBBUgsnZS0ODsmuX/HjPPTXriBni2Kti79REZxfMzwUAu4 ZWQw61/Okmr9fGA/AhViHn+UDjdOjcbmj0WzXC5x8ekb60zPG4DYjECnV8X6xsPS9h4v zoc82vEhlrRih3k8s+zHOH8DyE3y4brXd8C9Su7673YCIiPKxakkXZY2UXVqWYXOpUgV 3dIcnnVcnQGHiGrUlWivcILKbT3t5VTy0bJZuoDwTSnZHTmVtQg58nms7OvGiPV3W+PV aF2A1LJbUeu5jYvy7GfCCN9P8/Y2tdRh5zxw8OaNKxpic7kxwfzcQQu8Hccyifx7r4k8 1UFg== X-Gm-Message-State: AGRZ1gIvr00qx8iTzYfIhF7uNJHqVdJkdwYkP1Bg6HfDy+LiXgbCEDG8 PPlQ84F2PkwvD9n1Z1/OW3RErBTMrpto1q1m5r4/OPnBKQF6C+7JdKODHftvM7idftOwk6jU88O UF0yBcBLme14hsVmwYhdHYtjbfadH96y4YDYXYMKNQmNUvsab6m0ItAfieG+xzOul1NGoGq9I5A NbW5sH1X+j96pj X-Google-Smtp-Source: AJdET5csBgjzyDn1KmHyQA47AliSDreLB2EgjRSrS8FNqzseXWnHfi0+oiws6DH6Y0ezPFEFOCS5qw== X-Received: by 2002:a81:ac5d:: with SMTP id z29mr9634722ywj.290.1542861128899; Wed, 21 Nov 2018 20:32:08 -0800 (PST) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id a72sm7515486ywh.42.2018.11.21.20.32.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 20:32:08 -0800 (PST) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: [RFC] Removing "magic" oids To: Andres Freund , pgsql-hackers@postgresql.org References: <20180930034810.ywp2c7awz7opzcfr@alap3.anarazel.de> <20181114080152.xkk6coduvfrh4ntr@alap3.anarazel.de> <20181115014807.kqhndjzbvdmkbkhv@alap3.anarazel.de> <20181120095227.tgc5edxjqegobtkg@alap3.anarazel.de> <20181121000759.dgcbhr2nizkcfjhk@alap3.anarazel.de> <91a8a980-41bc-412b-fba2-2ba71a141c2b@2ndQuadrant.com> <02C51EE4-D0AE-4855-AF39-7EBC9D0CBB96@anarazel.de> <20181122001415.ef5bncxqin2y3esb@alap3.anarazel.de> Message-ID: Date: Wed, 21 Nov 2018 23:32:07 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0 MIME-Version: 1.0 In-Reply-To: <20181122001415.ef5bncxqin2y3esb@alap3.anarazel.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-MW List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 11/21/18 7:14 PM, Andres Freund wrote: > Could you check whether you > still encounter the issue after applying the attached fix? > This has largely fixed the problem, so I think this should be applied. With some adjustments to the tests to remove problematic cases (e.g. postgres_fdw's ft_pg_type) the tests pass. The exception is HEAD->HEAD. The change is that the LOs are not dumped in the same order pre and post upgrade. I can change the tests to allow for a greater fuzz factor - generally when the source and target are the same we don't allow any fuzz. Or if we care we could do a better job of dumping LOs in a consistent order. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services