pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Allow configurable LZ4 TOAST compression.
Date: Fri, 19 Mar 2021 21:35:32 -0400
Message-ID: <539b8ea2-1f94-41f3-fb76-5b291662c174@dunslane.net> (raw)
In-Reply-To: <E1lNKw9-0008DT-1L@gemulon.postgresql.org>
References: <E1lNKw9-0008DT-1L@gemulon.postgresql.org>


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






view thread (2+ messages)

Message-ID: <539b8ea2-1f94-41f3-fb76-5b291662c174@dunslane.net>
Permalink:  ../539b8ea2-1f94-41f3-fb76-5b291662c174@dunslane.net/
Also on:    postgresql.org/message-id/539b8ea2-1f94-41f3-fb76-5b291662c174@dunslane.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andrew@dunslane.net, rhaas@postgresql.org
  Subject: Re: pgsql: Allow configurable LZ4 TOAST compression.
  In-Reply-To: <539b8ea2-1f94-41f3-fb76-5b291662c174@dunslane.net>
  References: <E1lNKw9-0008DT-1L@gemulon.postgresql.org> <539b8ea2-1f94-41f3-fb76-5b291662c174@dunslane.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox