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 1v9YKp-002NFl-6X for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Oct 2025 00:28:42 +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 1v9YKl-00GSR8-RM for pgsql-hackers@arkaria.postgresql.org; Fri, 17 Oct 2025 00:28:38 +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 1v9YKl-00GSR0-Ha for pgsql-hackers@lists.postgresql.org; Fri, 17 Oct 2025 00:28:38 +0000 Received: from oss.nttdata.com ([49.212.34.109]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1v9YKg-002BjI-14 for pgsql-hackers@postgresql.org; Fri, 17 Oct 2025 00:28:36 +0000 Received: from oss.nttdata.com (localhost [127.0.0.1]) by oss.nttdata.com (Postfix) with ESMTPA id 3025861334; Fri, 17 Oct 2025 09:28:29 +0900 (JST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at oss.nttdata.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Date: Fri, 17 Oct 2025 09:28:28 +0900 From: torikoshia To: Naga Appani Cc: Ashutosh Bapat , Michael Paquier , Kirill Reshke , pgsql-hackers@postgresql.org Subject: Re: [Proposal] Expose internal MultiXact member count function for efficient monitoring In-Reply-To: References: User-Agent: Roundcube Webmail/1.4.11 Message-ID: <29f9e7abc90c3a4fe4a44026141c0d6c@oss.nttdata.com> X-Sender: torikoshia@oss.nttdata.com Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2025-09-15 14:47, Naga Appani wrote: > With these updates in v9, I believe the patch is now in good shape to > be marked RFC. I=E2=80=99ll go ahead and update the CommitFest entry. As shown in the commitfest app, v9 patch fails to build: multixactfuncs.c:129:28: error: call to undeclared function=20 'heap_form_tuple'; ISO C99 and later do not support implicit function=20 declarations [-Wimplicit-function-declaration] 129 | return=20 HeapTupleGetDatum(heap_form_tuple(tupdesc, values, nulls)); | ^ multixactfuncs.c:129:28: note: did you mean 'brin_form_tuple'? ../../../../src/include/access/brin_tuple.h:96:19: note:=20 'brin_form_tuple' declared here 96 | extern BrinTuple *brin_form_tuple(BrinDesc *brdesc, BlockNumber=20 blkno, | ^ multixactfuncs.c:129:28: error: incompatible integer to pointer=20 conversion passing 'int' to parameter of type 'const HeapTupleData *'=20 (aka 'const struct HeapTupleData *') [-Wint-conversion] 129 | return=20 HeapTupleGetDatum(heap_form_tuple(tupdesc, values, nulls)); | =20 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../../../src/include/funcapi.h:230:40: note: passing argument to=20 parameter 'tuple' here 230 | HeapTupleGetDatum(const HeapTupleData *tuple) | ^ 2 errors generated. Could you please update the patch to fix this? --=20 Regards, -- Atsushi Torikoshi Seconded from NTT DATA Japan Corporation to SRA OSS K.K.