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 1nYw8j-0003L1-DW for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Mar 2022 20:39:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nYw8i-0005PG-95 for pgsql-hackers@arkaria.postgresql.org; Mon, 28 Mar 2022 20:39:00 +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 1nYw8h-0005P7-Vr for pgsql-hackers@lists.postgresql.org; Mon, 28 Mar 2022 20:38:59 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nYw8f-0005Se-Oj for pgsql-hackers@postgresql.org; Mon, 28 Mar 2022 20:38:58 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 22SKcl7J939443; Mon, 28 Mar 2022 16:38:47 -0400 From: Tom Lane To: Robert Haas cc: =?UTF-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= , Justin Pryzby , 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) In-reply-to: References: <20220314171152.GU28503@telsasoft.com> <20220317194130.GM28503@telsasoft.com> <20220320194050.GX28503@telsasoft.com> <20220321131833.GB28503@telsasoft.com> <20220321182256.GC28503@telsasoft.com> <871qyvrvvm.fsf@wibble.ilmari.org> <384291.1648403267@sss.pgh.pa.us> Comments: In-reply-to Robert Haas message dated "Mon, 28 Mar 2022 15:50:50 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <939441.1648499927.1@sss.pgh.pa.us> Date: Mon, 28 Mar 2022 16:38:47 -0400 Message-ID: <939442.1648499927@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Robert Haas writes: > On Sun, Mar 27, 2022 at 1:47 PM Tom Lane wrote: >> Not sure if you should remove this null-check or add some other ones, >> but I think you ought to do one or the other. > As I hope is apparent, the first hunk of this patch is not for commit, > and the second hunk is for commit. Looks plausible to me. regards, tom lane