Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tkMRr-003BzW-GF for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Feb 2025 12:11:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tkMRq-009deL-7t for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Feb 2025 12:11:34 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tkMRp-009deC-UO for pgsql-hackers@lists.postgresql.org; Tue, 18 Feb 2025 12:11:33 +0000 Received: from mail-pj1-x1044.google.com ([2607:f8b0:4864:20::1044]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tkMRo-001Vgs-03 for pgsql-hackers@lists.postgresql.org; Tue, 18 Feb 2025 12:11:33 +0000 Received: by mail-pj1-x1044.google.com with SMTP id 98e67ed59e1d1-2fc291f7ddbso6211323a91.1 for ; Tue, 18 Feb 2025 04:11:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1739880691; x=1740485491; darn=lists.postgresql.org; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to; bh=CLutzqUszJZF1iMyDu8wqqZjy54FqITAR7VWfqWr+fo=; b=KtpCNz82LxaC0qm/nljXG+8Ms/QHPvCdQsb83YZ2e80G2a/vvU58v8IIWj2o+7XzTo +YI3X0zjZZ82StAKEjEVQFZnF329nM8eaneTgQE7Gpv7BsmQfZh7Yvw+KVKeiA0pJV0D 9T5BZXSuaUNnVHA7tueZXBn3V5DGwjB/v59hnNMROP2tQHkj64rxkzXw9t/pXcvpoup+ /WImZq6duCZ2B6ty3lydmtog7NEHWLx58rfWa+/T4Ed350ERGCuLCPfBnB61OLdiCVKa h6aNDbFbiQJbc+7iQXXiSNrQt1F/wAi5Gn2Bb5vPPsuDlF+slXkr2N7LTkZ5XM1E+xtl sU+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739880691; x=1740485491; h=mime-version:subject:references:in-reply-to:message-id:cc:to:from :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CLutzqUszJZF1iMyDu8wqqZjy54FqITAR7VWfqWr+fo=; b=d8oDO/HmPqTfL50VeDd+2kOEkIyq0Y9oW+qDCFb7igfCv+uCnCxD7VqjTrN8pwb07R 9pSOldfkL0AU/rL3tmLx8DaPK2J0GaUFPzCH1qmohPJz0P7ldV2uJZ2N5OmdtPBhfjRn aG0/tIPC8gwoosn0SlyGAKd+AZqoJ4MtJit2Rf+TjXSHrg5EnmB+UjxDvcu27RReOxB8 ++B0utfP7pn8JI6WpUeIx9Sru1LwT0k7F2FfMofBq0fqpd/4VYNzdraX0LvY8J+P3cWv cWAuT5nazc7whQYnymlJb+O0H+5acIf85T2tmoL3Fd0NDRmSotE7MFIee2nFcwKxdGEJ 8A/A== X-Gm-Message-State: AOJu0YxxkF71ECT20A44Leit3xc/bbaE0iOewA+SAPUvZn8gmNL7U2DR qf0Pi1rNFB0/t7jGbrIZVGXuJjLPrnoYKDs7vC/DCoj+WMQT5hIAkNTTy/rlvIWawQ== X-Gm-Gg: ASbGncv2J69t4cg7hvsZB1Bw31HtzAD4e6Fu3nBhinr5SQJslOP8f1sLQhyf5AILdri BvE4PhEjFZYhOq26Ld9EpMWZI498046nEfCIxTVxX+5B40BWn49+WWDBlEO7jqThnNGgTQZ6Hq8 nBZMxYZkXoYPmRr9p8eE2fSfSND8f0UYE36MA1u1q1n/VFAvPHW4v5sz0H3IOToX2rnHi8XKdSS CvgdnpveaV1mpzv4wQ8Lq13GYiMOM+rsGOOIwCM0qXuvXjala5bhz6FxJIlbezCzG890B7CDogf 5XxtnORBax82zOGZmTof6Cc= X-Google-Smtp-Source: AGHT+IEboxK8yq/eTmGgDElrZNK9hXEvUSWLjiXH6WRwuLf4ToBmw24xLYOWrK1oabNBUBwL+kACaQ== X-Received: by 2002:a17:90b:5108:b0:2ee:d63f:d73 with SMTP id 98e67ed59e1d1-2fc40f0f48amr21399807a91.11.1739880690768; Tue, 18 Feb 2025 04:11:30 -0800 (PST) Received: from localhashdata ([2406:da18:9e5:1502:726c:cbf2:7e1f:8825]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2fbf98f6965sm11848723a91.29.2025.02.18.04.11.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Feb 2025 04:11:30 -0800 (PST) Date: Tue, 18 Feb 2025 20:11:22 +0800 From: Zhang Mingli To: Richard Guo Cc: PostgreSQL Hackers Message-ID: <9b43912c-fbcd-430b-b4ea-b15df3401270@Spark> In-Reply-To: References: <56f5ab23-e92b-4380-929d-d2aa68ccc2ca@Spark> <198a8d1e-0792-4e7f-828e-902aa342f36e@Spark> Subject: Re: Fix outdated code comments in nodeAgg.c X-Readdle-Message-ID: 9b43912c-fbcd-430b-b4ea-b15df3401270@Spark MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="67b478ef_67fb67a2_7ffc" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --67b478ef_67fb67a2_7ffc Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On =46eb 10, 2025 at 16:45 +0800, Richard Guo ,= wrote: > On Sun, =46eb 9, 2025 at 11:15=E2=80=AFPM Zhang Mingli wrote: > > By reading the codes in nodeAgg.c, I found that some comments are out= dated. > > The comments referred to the function lookup=5Fhash=5Fentry(), which = has been removed in commit b563594. > > I've adjusted the comments to refer to the correct function to make i= t clear. > > LGTM. This seems to be an oversight from 200f6100a, in which the > function lookup=5Fhash=5Fentry() was removed. > > Thanks > Richard Hi, Thanks for review, added it to commitfest=C2=A0https://commitfest.postgre= sql.org/patch/5580/ -- Zhang Mingli HashData --67b478ef_67fb67a2_7ffc Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
On =46eb 10, 2025 at 16:45 +0800, Richard Guo <g= uofenglinux=40gmail.com>, wrote:
On Sun, =46eb 9, 2025 at 11:15=E2=80=AFPM Zhang Mingli <zmlpostgres=40= gmail.com> wrote:
By reading the codes in nodeAgg.c, I found that some comments are outdat= ed.
The comments referred to the function lookup=5Fhash=5Fentry(), which has = been removed in commit b563594.
I've adjusted the comments to refer to the correct function to make it cl= ear.

LGTM. This seems to be an oversight from 200f6100a, in which the
function lookup=5Fhash=5Fentry() was removed.

Thanks
Richard
Hi,

Thanks for review, added it to commitfest&=23160;https://com= mitfest.postgresql.org/patch/5580/


--
Zhang Mingli
HashData
--67b478ef_67fb67a2_7ffc--