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 1txDpL-004zp7-5d for pgsql-hackers@arkaria.postgresql.org; Tue, 25 Mar 2025 23:36:59 +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 1txDpI-00Bj5x-PB for pgsql-hackers@arkaria.postgresql.org; Tue, 25 Mar 2025 23:36:56 +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 1txDpI-00Bj1e-Ev for pgsql-hackers@lists.postgresql.org; Tue, 25 Mar 2025 23:36:56 +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.96) (envelope-from ) id 1txDpG-0018Fp-2S for pgsql-hackers@lists.postgresql.org; Tue, 25 Mar 2025 23:36:55 +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 52PNaYxi1338394; Tue, 25 Mar 2025 19:36:34 -0400 From: Tom Lane To: Daniel Gustafsson cc: Thomas Munro , Nathan Bossart , Peter Eisentraut , Tomas Vondra , Heikki Linnakangas , Japin Li , Andres Freund , PostgreSQL Hackers Subject: Re: Cannot find a working 64-bit integer type on Illumos In-reply-to: <9E6BD828-B535-45F5-B7E1-909473CDDD8B@yesql.se> References: <2397643.1733347237@sss.pgh.pa.us> <2401111.1733349005@sss.pgh.pa.us> <2402151.1733349346@sss.pgh.pa.us> <2412342.1733354191@sss.pgh.pa.us> <1321975.1742943697@sss.pgh.pa.us> <9E6BD828-B535-45F5-B7E1-909473CDDD8B@yesql.se> Comments: In-reply-to Daniel Gustafsson message dated "Wed, 26 Mar 2025 00:06:30 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1338392.1742945794.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 25 Mar 2025 19:36:34 -0400 Message-ID: <1338393.1742945794@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Daniel Gustafsson writes: >> On 26 Mar 2025, at 00:01, Tom Lane wrote: >> How did that work before? Perhaps somebody just now added a libpq >> dependency to pg_regress.c? > I believe the libpq dependency came in 66d6086cbcbfc8 which wasn't all t= hat > recent. It looks like this has been broken for a very long time, but it must never have mattered before because libpq-fe.h is so stable, and pg_regress doesn't use any new-ish APIs from it. So pulling in whatever version the platform had still worked. I think this should work to fix it: -pg_regress.o: override CPPFLAGS +=3D -I$(top_builddir)/src/port -I$(libpq= _srcdir) $(EXTRADEFS) +pg_regress.o: override CPPFLAGS :=3D -I$(top_builddir)/src/port -I$(libpq= _srcdir) $(EXTRADEFS) $(CPPFLAGS) but I haven't tested yet. regards, tom lane