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 1pkSBu-00067g-J1 for pgsql-hackers@arkaria.postgresql.org; Thu, 06 Apr 2023 16:10:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1pkSBs-0003gP-Op for pgsql-hackers@arkaria.postgresql.org; Thu, 06 Apr 2023 16:10:24 +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 1pkSBs-0003gG-Ai for pgsql-hackers@lists.postgresql.org; Thu, 06 Apr 2023 16:10:24 +0000 Received: from mail-io1-xd2d.google.com ([2607:f8b0:4864:20::d2d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1pkSBp-001H4a-IQ for pgsql-hackers@postgresql.org; Thu, 06 Apr 2023 16:10:23 +0000 Received: by mail-io1-xd2d.google.com with SMTP id o10so9441460iou.5 for ; Thu, 06 Apr 2023 09:10:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; t=1680797419; 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=4VQ4BhlXuK9otVbcx6QHOsXUaW0A7pZqNi+7OjaeVaY=; b=qoPkxpT+r6aqW89SjGjba+EJUuaoE+g29BREl8VBXmmnuiB0FpRKZhbpaQ8kLocDhL f8UyYzBw3zk1hrv8d1R70cYLZEWOPvCGA+XoRUdc9wQHlmi+kbaDvXHs9bsgw3UD2kgI s2q5N0vVgi+BV1t6dswpX9Hvr+im08Y0uXlcbKryy7Y1q45xfkujm0uQ1cMxSZQQK/r2 XNQwhG+cjwXuhpSoKrhRThIAy7nGFkTE3CC6QcsP3htc74kvaJWt+opYg0IgPNWjTJQ9 MT43xLDAOxPrxIvL/hLc4pcsoE3v0/O2ruudE/CknL5FyEc8sQlz60OMYzxuWPOEkck1 J+4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680797419; 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=4VQ4BhlXuK9otVbcx6QHOsXUaW0A7pZqNi+7OjaeVaY=; b=a6YJNpkazPrbih59TZ/R/WvVS1O44NJEQ7LEMRfARTllDCjHOl5LbGA9BOjNVYUli8 lTK2Bjf3/GARcTDzi3wa9E4BwtV+/fPgqJ4IHv+J4DQmjipQWzCXCzUOD1v9mnL9U++D aK5fvOgrKzpm7xmjwdLsRNaWbse7ysmOMNxgW3rLCW67JJeljt7ahsY8JSHEEHzPwUJk Zxs3XgpXKKxsoW3WFdkTY60bRaD4SwZkcnJh6EUGcrmOYgeNX+tLl26G2wz1GgpGrngw oYWdNWnzyQdaeEeyg1Uuep+Bah0vfucrpgyWvQ2Cid+6rDoYVpkQOx9adtEoNxOIM010 lQNA== X-Gm-Message-State: AAQBX9ezaYlc78RkYF97BguXGeZwkQnplUxb6LEO1xCnkBLJuSradOB+ W/z7hJ/itdgx0YWNW6JY++mKNA== X-Google-Smtp-Source: AKy350YDOmxwVvQ/a0n2SC+Lyq65/kUEgsSj26P0cRmzn0r71zU7KTlU/vP9VywZ9IdwrbOiEA6e+w== X-Received: by 2002:a6b:dd18:0:b0:759:95a5:327a with SMTP id f24-20020a6bdd18000000b0075995a5327amr20589ioc.11.1680797419549; Thu, 06 Apr 2023 09:10:19 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id cv11-20020a056638498b00b0040b1bac113esm459000jab.89.2023.04.06.09.10.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Apr 2023 09:10:19 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id DEBC9800DAF; Thu, 6 Apr 2023 11:10:17 -0500 (CDT) Date: Thu, 6 Apr 2023 11:10:17 -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: <4029fe58-f661-7d8d-cbbb-b936a05531e2@enterprisedb.com> <2de3bcad-6da9-9022-bce5-fc0416351d6e@enterprisedb.com> <27eb89fc-8fdd-2988-0959-0af1d6d7a12a@enterprisedb.com> <51013008-6735-96a2-d744-3b0a0413fcdd@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 Thu, Apr 06, 2023 at 05:34:30PM +0200, Tomas Vondra wrote: > I looked at the long mode patch again, updated the commit message and > pushed it. I was wondering if long_mode should really be bool - > logically it is, but ZSTD_CCtx_setParameter() expects int. But I think > that's fine. Thanks! > I think that's all for PG16 in this patch series. If there's more we want to > do, it'll have to wait for PG17 - Yes > Justin, can you update and submit the patches that you think are relevant for > the next CF? Yeah. It sounds like a shiny new feature, but it's not totally clear if it's safe here or even how useful it is. (It might be like my patch for wal_compression=zstd:level, and Michael's for toast_compression=zstd, neither of which saw any support). Last year's basebackup thread had some interesting comments about safety of threads, although pg_dump's considerations may be different. The patch itself is trivial, so it'd be fine to wait until PG16 is released to get some experience. If someone else wanted to do that, it'd be fine with me. -- Justin