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 1tIxLr-0006N9-It for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Dec 2024 21:56:07 +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 1tIxLo-002ilU-KG for pgsql-hackers@arkaria.postgresql.org; Wed, 04 Dec 2024 21:56:05 +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 1tIxLo-002ilM-AO for pgsql-hackers@lists.postgresql.org; Wed, 04 Dec 2024 21:56:05 +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 1tIxLl-0014hn-N0 for pgsql-hackers@lists.postgresql.org; Wed, 04 Dec 2024 21:56:04 +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 4B4Ltk1B2402152; Wed, 4 Dec 2024 16:55:46 -0500 From: Tom Lane To: Thomas Munro cc: Tomas Vondra , Peter Eisentraut , Heikki Linnakangas , Japin Li , Andres Freund , PostgreSQL Hackers Subject: Re: Cannot find a working 64-bit integer type on Illumos In-reply-to: <2401111.1733349005@sss.pgh.pa.us> References: <20240322165305.6zrtxcmzdrywvmsu@awork3.anarazel.de> <944094.1711128356@sss.pgh.pa.us> <1229869.1711160593@sss.pgh.pa.us> <7cf1dcb7-306f-4418-bf25-bdc75130db10@eisentraut.org> <0e2cc7af-f0c0-418c-b640-e5eb03eaa6e6@eisentraut.org> <50a4c05e-c43e-4e7e-95d2-4b16493073ed@eisentraut.org> <227! ! 6817.1733293172@sss.pgh.pa.us> <2385947.1733341279@sss.pgh.pa.us> <2397643.1733347237@sss.pgh.pa.us> <2401111.1733349005@sss.pgh.pa.us> Comments: In-reply-to Tom Lane message dated "Wed, 04 Dec 2024 16:50:05 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2402150.1733349346.1@sss.pgh.pa.us> Date: Wed, 04 Dec 2024 16:55:46 -0500 Message-ID: <2402151.1733349346@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk I wrote: > ... We need this header to be readable without > any prior system headers, so I'm afraid we're all the way back to > making configure derive the name of a 64-bit type. Could another way be to read pg_config.h before postgres_ext.h? I think the current order was intentional, but maybe the disadvantages outweigh the advantages now. regards, tom lane