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 1rdY3x-006ACT-95 for pgsql-hackers@arkaria.postgresql.org; Fri, 23 Feb 2024 16:06:13 +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 1rdY3u-0026Pr-N2 for pgsql-hackers@arkaria.postgresql.org; Fri, 23 Feb 2024 16:06:11 +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 1rdY3u-0026Pj-DN for pgsql-hackers@lists.postgresql.org; Fri, 23 Feb 2024 16:06:10 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rdY3p-000cuF-QP for pgsql-hackers@postgresql.org; Fri, 23 Feb 2024 16:06:09 +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 41NG61Zt820445; Fri, 23 Feb 2024 11:06:01 -0500 From: Tom Lane To: Heikki Linnakangas cc: pgsql-hackers , vignesh C , Andres Freund , Melanie Plageman , Robert Haas , Peter Smith Subject: Re: Relation bulk write facility In-reply-to: <8a5a2f85-9a75-4d2d-9c75-0608ee98886b@iki.fi> References: <30e8f366-58b3-b239-c521-422122dd5150@iki.fi> <20231119000416.fuyrbo6av7dytmf6@awork3.anarazel.de> <93e91b02-e07f-4205-8de6-3942b91760cb@iki.fi> <98832b4f-441f-4691-b9d4-9725eea8aed9@iki.fi> <6db39a5e-67ab-495d-9dfb-38b596df0d58@iki.fi> <9e1f63c3-ef16-404c-b3cb-859a96eaba39@iki.fi> <814466.1708701344@sss.pgh.pa.us> <8a5a2f85-9a75-4d2d-9c75-0608ee98886b@iki.fi> Comments: In-reply-to Heikki Linnakangas message dated "Fri, 23 Feb 2024 17:43:28 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <820443.1708704361.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 23 Feb 2024 11:06:01 -0500 Message-ID: <820444.1708704361@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Heikki Linnakangas writes: > Thanks, the error message was clear enough: >> bulk_write.c:78:3: error: redefinition of typedef 'BulkWriteState' is a= C11 feature [-Werror,-Wtypedef-redefinition] >> } BulkWriteState; > Fixed now, but I'm a bit surprised other buildfarm members nor cirrus CI= = > caught that. I also tried to reproduce it locally by adding = > -Wtypedef-redefinition, but my version of clang didn't produce any = > warnings. Are there any extra compiler options on those animals or = > something? They use Apple's standard compiler (clang 15 or so), but 'CC' =3D> 'ccache clang -std=3Dgnu99', so maybe the -std has something to do with it. I installed that (or -std=3Dgnu90 as appropriate to branch) on most of my build setups back when we started the C99 push. regards, tom lane