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 1nWMgP-0005VQ-Av for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Mar 2022 18:23:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nWMgN-0008M6-BI for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Mar 2022 18:23:07 +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 1nWMgM-0008Lx-UQ for pgsql-hackers@lists.postgresql.org; Mon, 21 Mar 2022 18:23:07 +0000 Received: from mail-io1-xd2d.google.com ([2607:f8b0:4864:20::d2d]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nWMgF-0001Qg-Tt for pgsql-hackers@postgresql.org; Mon, 21 Mar 2022 18:23:06 +0000 Received: by mail-io1-xd2d.google.com with SMTP id b16so17734906ioz.3 for ; Mon, 21 Mar 2022 11:22:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=t47pqAi9HwvWROoB4yf2BTIhxFgA66eha7vNsB+/mho=; b=Us9Gez/XgZZKotO+pYKfmYbtZ2tfpR4vD27JLAm9/9fUVnauz7YBJIA+8kNIj6NrY3 s0r2Cevn0D6dl8Xc7NRrv7EMBALmVvuqQU8W+NO1+ujJ5jlaEYjwr3rLRJotnFju60u8 a8zoCGlt388t3JEzyVlDg/bb0z5U2SFWMm/mrmjeUbAD94RoECUkpMYNV5COCbMlBRuQ no43VCIqQinCONQeDfEJE39X57gyFhIkRG4Mv63JOFarc8M0z940QXQWb0KPifxScY4y bo2ZNxR/2kyypl9tmwAuQGaoirlOvwE9GV1KBQxyqmbjjMM+zKeINbNrxtPciTgcODr7 Etlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=t47pqAi9HwvWROoB4yf2BTIhxFgA66eha7vNsB+/mho=; b=NTG0EUvb8BQug77fZ+eafIIsis7XuB66UOz7Etk55AcJIzCaLErkCNrxx6lNAXNV7q PJpEZsqUpuCq5gsfngpmZ+jgjlQP3QT1P7Nv6uk9kdnJUCnCRKTkmdbOGw4kJs2blTZk TRkQqZS0E+DG7/IM8UEbJdyujbVCuzQD9K959/FFEHnWyaxwKrDxls3SLhtx70DBzGr+ kuGiuaVIOaO1IfZRyvlzfS2WJw+4uuEgVrzwH2MZ1ohs2oGWB//mV1yYDUKGKoSUPVur qbbw9VQnMTcM1eaoD2aw/xGIvxS6AB/gCf2gkpDRnQVu4IdlcPO66RWDtgwHOwIxmVu9 KrTA== X-Gm-Message-State: AOAM533997ye/hTAjavDci2cxSorcnhaidforJohOT/tQn4BkWjC+SFN ztBZO3/SR0enF8Psb+qM6Ow72A== X-Google-Smtp-Source: ABdhPJy1ds0CrCvVFlKVe/6bL2jJYR6i0fQfPgH5PMKhSqZgmj8XmkUssZVR0qlz3642mzVcBQ6yHg== X-Received: by 2002:a05:6638:471b:b0:321:41e8:9b4a with SMTP id cs27-20020a056638471b00b0032141e89b4amr3034851jab.204.1647886977863; Mon, 21 Mar 2022 11:22:57 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id p3-20020a92d483000000b002c7e1877f5dsm8073909ilg.37.2022.03.21.11.22.57 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Mar 2022 11:22:57 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 8F85B80142E; Mon, 21 Mar 2022 13:22:56 -0500 (CDT) Date: Mon, 21 Mar 2022 13:22:56 -0500 From: Justin Pryzby To: Robert Haas Cc: Dipesh Pandit , Andres Freund , Jeevan Ladhe , Alvaro Herrera , "Shinoda, Noriyoshi (PN Japan FSIP)" , Abhijit Menon-Sen , Dmitry Dolgov <9erthalion6@gmail.com>, Jeevan Ladhe , Mark Dilger , pgsql-hackers@postgresql.org, tushar Subject: Re: refactoring basebackup.c (zstd workers) Message-ID: <20220321182256.GC28503@telsasoft.com> References: <20220314171152.GU28503@telsasoft.com> <20220317194130.GM28503@telsasoft.com> <20220320194050.GX28503@telsasoft.com> <20220321131833.GB28503@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, Mar 21, 2022 at 12:57:36PM -0400, Robert Haas wrote: > > typo: contain a an > I searched for the "contain a an" typo that you mentioned but was not able to > find it. Can you give me a more specific pointer? Here: + * during parsing, and will otherwise contain a an appropriate error message. > I looked a little bit more at the compression method vs. compression > algorithm thing. I agree that there is some inconsistency in > terminology here, but I'm still not sure that we are well-served by > trying to make it totally uniform, especially if we pick the word > "method" as the standard rather than "algorithm". In my opinion, > "method" is less specific than "algorithm". If someone asks me to > choose a compression algorithm, I know that I should give an answer > like "lz4" or "zstd". If they ask me to pick a compression method, I'm > not quite sure whether they want that kind of answer or whether they > want something more detailed, like "use lz4 with compression level 3 > and a 1MB block size". After all, that is (at least according to my > understanding of how English works) a perfectly valid answer to the > question "what method should I use to compress this data?" -- but not > to the question "what algorithm should I use to compress this data?". > The latter can ONLY be properly answered by saying something like > "lz4". And I think that's really the root of my hesitation to make the > kinds of changes you want here. I think "algorithm" could be much more nuanced than "lz4", but I also think we've spent more than enough time on it now :) -- Justin