Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNXkQ-0005fs-1b for pgsql-committers@arkaria.postgresql.org; Sat, 20 Mar 2021 09:18:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lNQWk-0003Xr-As for pgsql-committers@arkaria.postgresql.org; Sat, 20 Mar 2021 01:35:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNQWk-0003Xj-57 for pgsql-committers@lists.postgresql.org; Sat, 20 Mar 2021 01:35:42 +0000 Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lNQWg-00022v-Tt for pgsql-committers@lists.postgresql.org; Sat, 20 Mar 2021 01:35:40 +0000 X-Originating-IP: 99.10.92.30 Received: from [192.168.10.146] (99-10-92-30.lightspeed.rlghnc.sbcglobal.net [99.10.92.30]) (Authenticated sender: adsend@dunslane.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 1032C60002; Sat, 20 Mar 2021 01:35:34 +0000 (UTC) Subject: Re: pgsql: Allow configurable LZ4 TOAST compression. To: Robert Haas , pgsql-committers@lists.postgresql.org References: From: Andrew Dunstan Message-ID: <539b8ea2-1f94-41f3-fb76-5b291662c174@dunslane.net> Date: Fri, 19 Mar 2021 21:35:32 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/19/21 3:37 PM, Robert Haas wrote: > Allow configurable LZ4 TOAST compression. > Looks like this has run into the heuristic in the buildfarm's cross version upgrade module. This allows for up to 2000 lines of diff between the dumps of the original and upgraded database. This has blown out by a large number of diffs like this:  CREATE TABLE "MySchema"."Foo" (      f1 integer NOT NULL, -    f2 text NOT NULL, -    f3 text[] +    f2 text COMPRESSION pglz NOT NULL, +    f3 text[] COMPRESSION pglz  ); Both dumps are made with the new version, so I'm not quite sure how I should fix it. Maybe if it's an older version I should use the --no-toast-compression argument, but it doesn't look like it's been added to pg_dumpall unless I'm missing something. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com