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 1oCgSP-0004wT-PV for pgsql-committers@arkaria.postgresql.org; Sat, 16 Jul 2022 11:59:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oCgSO-00030b-Fs for pgsql-committers@arkaria.postgresql.org; Sat, 16 Jul 2022 11:59:36 +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 1oCgSO-00030A-9R for pgsql-committers@lists.postgresql.org; Sat, 16 Jul 2022 11:59:36 +0000 Received: from mail-qt1-x831.google.com ([2607:f8b0:4864:20::831]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oCgSM-0006UO-3z for pgsql-committers@lists.postgresql.org; Sat, 16 Jul 2022 11:59:35 +0000 Received: by mail-qt1-x831.google.com with SMTP id l14so3212199qtv.4 for ; Sat, 16 Jul 2022 04:59:34 -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=zLsqGfmNp3zKh+YNb6abL7S68/hDFHBZBEh4reGdN30=; b=OQqMVekeRx3Qh5cRCPKrSy70/yR2VuHsNKfoNxbrsjjjluVbEzARjbA0hSHYRsFqcy qQz3eAVQxh2bMroOTEfFrKTcSNxF6DKwkr383J91ruyShvflXOyUkN9yuVuoMhbdKM9Z HJx3k3xtSr726ssh2vPdeJ5u2scwjQKKAHXPfCAsXTV6yMKhW1YxW1K5nz0dQv6FBCGA KN73JPveqQUs5KfY/8gQFCwBLMiajzGBAcQDl7EWsAivWS8VyAPdxHdDdgc1raWsd22t MH5DN/is2YrMDoHu4EZE+a8mG/CR56JM+Nwwe2hUq3FtF1ECod4EaXONB6Yjm8U92FaR bc1w== 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=zLsqGfmNp3zKh+YNb6abL7S68/hDFHBZBEh4reGdN30=; b=SlrggeQyFEOh1eHmaztH4delLVIsA54NA5w/KTspBZBypHHb5DDqKA4MQC+Cgjl2Jt vji97N3GvsctRC1QYSGEv1NWRNl5onQnpJM5FHvRMJmKcINVYZjp2AplHPMMtcnpxA6d KY/eu50PjGdQ+El5Mo/o2tzCeILvoBQW4LoM8eLrq+7kxouJZ4u/vdBKapDwUEIXutvi 12AMUB9kNIEiRxayilvFC6b3uVA2r85Nb79Yx272krdT2pICzg0GSZVRm5ORegkPDs4m qsqKr48hPa2IVmFJ5uZNYKmlUEyRhLIJiKK62I3v0/NGEq1vlKubTOvYjM9p4CEhVtYH A/xw== X-Gm-Message-State: AJIora+QSr5+U4fGJ2RQE8Lh9rNcdf60mrcPkEOAMfLVsESXutuYkftz 9GSBPUP7l/R+wlZQ079un/Uv3w== X-Google-Smtp-Source: AGRyM1tPIRJX/AaYzQBLFPnakOf28URD0c0N/fmTgyVvmi0JcyQ4MUD+br92aBAdR/8GOyltuKL0rA== X-Received: by 2002:a05:622a:3ca:b0:31e:e1f2:31e4 with SMTP id k10-20020a05622a03ca00b0031ee1f231e4mr3511627qtx.680.1657972773371; Sat, 16 Jul 2022 04:59:33 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id z25-20020ac87cb9000000b0031d283f4c4dsm5267116qtv.60.2022.07.16.04.59.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 16 Jul 2022 04:59:33 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 41AE3800957; Sat, 16 Jul 2022 06:59:32 -0500 (CDT) Date: Sat, 16 Jul 2022 06:59:32 -0500 From: Justin Pryzby To: Peter Eisentraut Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Replace many MemSet calls with struct initialization Message-ID: <20220716115932.GV18011@telsasoft.com> References: 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 Sat, Jul 16, 2022 at 06:53:16AM +0000, Peter Eisentraut wrote: > Replace many MemSet calls with struct initialization This failed https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=lapwing&dt=2022-07-16%2008%3A40%3A14 It avoids the warning here to use {{0}}. But it doesn't seem worth it to use that just to appease the compiler. We ran into this before here: 20211202033145.GK17618@telsasoft.com -- Justin