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 1sPCs5-003Qst-22 for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Jul 2024 03:10:57 +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 1sPCs2-00DMVl-1S for pgsql-hackers@arkaria.postgresql.org; Thu, 04 Jul 2024 03:10:54 +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 1sPCs1-00DMVd-OF for pgsql-hackers@lists.postgresql.org; Thu, 04 Jul 2024 03:10:54 +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 1sPCrz-000Im2-Qa for pgsql-hackers@lists.postgresql.org; Thu, 04 Jul 2024 03:10:53 +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 4643AYGX3329542; Wed, 3 Jul 2024 23:10:34 -0400 From: Tom Lane To: Thomas Munro cc: Heikki Linnakangas , Peter Eisentraut , Japin Li , Andres Freund , PostgreSQL Hackers Subject: Re: Cannot find a working 64-bit integer type on Illumos In-reply-to: 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> Comments: In-reply-to Thomas Munro message dated "Thu, 04 Jul 2024 14:55:59 +1200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3329540.1720062634.1@sss.pgh.pa.us> Date: Wed, 03 Jul 2024 23:10:34 -0400 Message-ID: <3329541.1720062634@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Thomas Munro writes: > New version attached. This time I was brave enough to try to tackle > src/timezone too, which had comments planning to drop a lot of small > differences against the upstream tzcode once all supported branches > required C99. Unless you've specifically checked that this reduces diffs against upstream tzcode, I'd really prefer not to touch that code right now. I know I'm overdue for a round of syncing src/timezone/ with upstream, but I can't see how drive-by changes will make that easier. > IMHO it's a rather scary choice on tzcode's part to use int_fastN_t, Yeah, I was never pleased with that choice of theirs. OTOH, I've seen darn few portability complaints on their mailing list, so it seems like they've got it right in isolation. The problem from our standpoint is that I don't think we want int_fastN_t to leak into APIs visible to the rest of Postgres, because then we risk issues related to their configuration methods being totally unlike ours. regards, tom lane