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 1p7KAL-0003Mb-BE for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Dec 2022 17:43:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1p7KAJ-0001hq-Py for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Dec 2022 17:43:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p7KAJ-0001hb-GE for pgsql-hackers@lists.postgresql.org; Mon, 19 Dec 2022 17:43:03 +0000 Received: from mail-il1-x135.google.com ([2607:f8b0:4864:20::135]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1p7KAG-0001Or-S0 for pgsql-hackers@lists.postgresql.org; Mon, 19 Dec 2022 17:43:02 +0000 Received: by mail-il1-x135.google.com with SMTP id m15so5100124ilq.2 for ; Mon, 19 Dec 2022 09:43:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=user-agent: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=MDqDPu/x1k6SH9oQSEJHz1EdbzAbz05c9rALKL+JDHE=; b=f61JNwBrty2ghR0lM3uSwlF4xGZxER/zkWnf8zartRym7WKSnHHXlAFzDmzL7l+rbk G3MvKAxpFfSoLRF4Creqhin6hCAdEwbb409X/3q/ert20SLCIvrQvibLQbi+dGpyYYgP s2HUOVT42Axcra/ohvUA7WxRrTUh1iGGQ2K+GTHJShxV3tKV3OsDz+/UWR/Rel5Dwjr7 qvBV4YPssnGp4gdLsuVepNLmR3lVlyruIn5kAJeemVNGc89fixH3ghyPQdH5nlkG8hvL 8QuXnLhW5y565oxPu2uERQoaGcgiedD9v/bDCIIogUZcHs9DydfNjmLXixraEzCMhNN2 NlmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent: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=MDqDPu/x1k6SH9oQSEJHz1EdbzAbz05c9rALKL+JDHE=; b=0DI73+EC2SRQnt0RSo2M+2ZkFquBZKTW2xMVr5hQIBuBl4pNDdMGG0HZzeFmKaschD 5WPTQ7KwmyuPYkyu14lMMJECPfAIjocHojALYUT3pMZCv/TmlfkiH5y3GEtLIaq4yXWQ n5zcR2dTEpx65lvzkPSw5srajlGo3cPCMrXmsty5pm71dW+vMDhYhLL7iZITRX6Z5qsX 1q/6I8c963A6nVb7tm/pLIDB55Bh+PPF/hGBPSxsXDjiYsofu8P1FxX+RM1gcCZ0Buov PAyPsUJlRTMeTq4Dlx7/QKTRprVwq2MTYoarGqegmUjRUs6Q3wTKAnLV45a+8tbD2jZS yvsQ== X-Gm-Message-State: AFqh2krgc6346ig0Glv/xadRh9xdaim4hkalnloU5FXwQJ6q2OMJR4fc t57NOlIRoZyGYmUqtDeG6SaQsQ== X-Google-Smtp-Source: AMrXdXtcmOqb/Xq3atbWJe9mL0l0LR9BAoIGVX4zJ/c4y+SFUJvYXO7w9TZXUilURZMORAyd+u24QQ== X-Received: by 2002:a05:6e02:20cb:b0:308:f4c6:2576 with SMTP id 11-20020a056e0220cb00b00308f4c62576mr9512602ilq.22.1671471779897; Mon, 19 Dec 2022 09:42:59 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id i23-20020a02ca17000000b00389e1f5751asm3715386jak.65.2022.12.19.09.42.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Dec 2022 09:42:59 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 639248008DE; Mon, 19 Dec 2022 11:42:58 -0600 (CST) Date: Mon, 19 Dec 2022 11:42:58 -0600 From: Justin Pryzby To: Michael Paquier Cc: gkokolatos@pm.me, pgsql-hackers@lists.postgresql.org, Rachel Heaton Subject: Re: Add LZ4 compression in pg_dump Message-ID: <20221219174258.GB1153@telsasoft.com> References: <4wfmZ9BuGbkM6JXggut4g_gPl1hLbVeUwPEQh5nGgzlKCgnbtRaw7-nPcyPelGdG8ttH9A7vgyX_Z2fwZxuqHt1xENg9mqDfP_94qoZ5WxQ=@pm.me> <20221217232615.GS1153@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Dec 19, 2022 at 01:06:00PM +0900, Michael Paquier wrote: > On Sat, Dec 17, 2022 at 05:26:15PM -0600, Justin Pryzby wrote: > > 001: still refers to "gzip", which is correct for -Fp and -Fd but not > > for -Fc, for which it's more correct to say "zlib". > > Or should we begin by changing all these existing "not built with zlib > support" error strings to the more generic "this build does not > support compression with %s" to reduce the number of messages to > translate? That would bring consistency with the other tools dealing > with compression. That's fine, but it doesn't touch on the issue I'm talking about, which is that zlib != gzip. BTW I noticed that that also affects the pg_dump file itself; 002 changes the file format to say "gzip", but that's wrong for -Fc, which does not use gzip headers, which could be surprising to someone who specified "gzip". -- Justin