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 1pjPgR-00077T-Bx for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Apr 2023 19:17:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pjPgQ-0005qS-6v for pgsql-hackers@arkaria.postgresql.org; Mon, 03 Apr 2023 19:17:38 +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 1pjPgP-0005qI-OM for pgsql-hackers@lists.postgresql.org; Mon, 03 Apr 2023 19:17:37 +0000 Received: from mail-il1-x12d.google.com ([2607:f8b0:4864:20::12d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pjPgM-000giN-Li for pgsql-hackers@postgresql.org; Mon, 03 Apr 2023 19:17:36 +0000 Received: by mail-il1-x12d.google.com with SMTP id q8so1227211ilo.1 for ; Mon, 03 Apr 2023 12:17:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; t=1680549452; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=y30kTQiQ/I+NlMvHBQncXvzmozkBd5GdII8DiTSg0JM=; b=S5Q11fCOnfH0TZisVFXpMso8WJEc/KGgntFePuLw6SgueIAoli6XpioCiFXAMvAH/Y hdKK0mXUOIN8fJykYB/yhOKjWA6GcFuNKqHvHALMMSKzJ8kJLMIeyv5AF+UABpthnMCo Qb7MRhRzStZFDl0D6rOq632hh1gZCFfqzNpNI5Xrv9DWXojwzVDxnWZMPIwhOsICZq5G QIkVdBzezP6bmIIVqkQGcvDSEGDYrgIgUlzhFIUpGg2c7DlynzF/BWNF8jpd6uMlsY/7 WqsexK7+I9OfAbToSox7nf7B+Cq1uC5bIPz35W9HggTDaw3yqHyR/wKT1DpKVNKgc9cz Z8aQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680549452; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=y30kTQiQ/I+NlMvHBQncXvzmozkBd5GdII8DiTSg0JM=; b=qTGM2uQvn+YRBCDmb2pZItYb03QCPW0bOUNFlKx3vbp+jbx5qDZnC8ty2CZJtIgX4q FItoy5l83tkXXyi5BrTd4NQgkA40z72MTOvAaT2nQJoqJkDRt1rU+tv6uBk4n0OL7JVV 9jxW7WkWriLkqIkkWCcmoewBmEjDs6Msos+ZhSJhGB6SaLnIl9ocXxNaL9uLZ/lI9qSt zTuJsLL5agz/w00+RnWxKuqHCmiEqpqm89eDoUexFI0kQOpbH3hUpbcjCi8//Svy1xBu NFUY73Td9nz3ch4n/dfNhFXdcZ55Rn+0GNaMI39zNWeBs5Bj5jJOhh0wM5cTG1xxrkbC f2dg== X-Gm-Message-State: AAQBX9fdo0iyVewZXE6a2ZHoUVWdh2XGDfGR5knQVZZQQ2sKNhLOTVjP Zpl6OlU6KZGB9108IL3I/CPt9Q== X-Google-Smtp-Source: AKy350aAyTQDhIDqqFFAY/I8sJcdeD0aXqlXycIWgcMtp9JuZCqh3NFK+MZpU41JeHNND63heED6Pg== X-Received: by 2002:a92:dc90:0:b0:322:fe79:8141 with SMTP id c16-20020a92dc90000000b00322fe798141mr158174iln.1.1680549452376; Mon, 03 Apr 2023 12:17:32 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id g65-20020a028547000000b003a0565a5750sm2811885jai.119.2023.04.03.12.17.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Apr 2023 12:17:31 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 9EDEF801FE6; Mon, 3 Apr 2023 14:17:30 -0500 (CDT) Date: Mon, 3 Apr 2023 14:17:30 -0500 From: Justin Pryzby To: Tomas Vondra Cc: Jacob Champion , pgsql-hackers@postgresql.org, gkokolatos@pm.me, Michael Paquier , Robert Haas , Peter Geoghegan , Peter Eisentraut , Heikki Linnakangas , Thomas Munro , Dipesh Pandit , Andrey Borodin , Mark Dilger Subject: Re: zstd compression for pg_dump Message-ID: References: <0115b682-58f0-ea43-9ecd-c37a4495812e@enterprisedb.com> <0022dd9e-a439-d72f-d09b-ec512c23949b@enterprisedb.com> <4029fe58-f661-7d8d-cbbb-b936a05531e2@enterprisedb.com> <2de3bcad-6da9-9022-bce5-fc0416351d6e@enterprisedb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, Apr 01, 2023 at 10:26:01PM +0200, Tomas Vondra wrote: > > Feel free to mess around with threads (but I'd much rather see the patch > > progress for zstd:long). > > OK, understood. The long mode patch is pretty simple. IIUC it does not > change the format, i.e. in the worst case we could leave it for PG17 > too. Correct? Right, libzstd only has one "format", which is the same as what's used by the commandline tool. zstd:long doesn't change the format of the output: the library just uses a larger memory buffer to allow better compression. There's no format change for zstd:workers, either. -- Justin