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 1uWhX3-0005JE-IG for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Jul 2025 20:24:45 +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 1uWhX1-008NAs-I9 for pgsql-hackers@arkaria.postgresql.org; Tue, 01 Jul 2025 20:24:44 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1uWhX1-008NAi-8L for pgsql-hackers@lists.postgresql.org; Tue, 01 Jul 2025 20:24:43 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uWhWz-0059ue-2H for pgsql-hackers@lists.postgresql.org; Tue, 01 Jul 2025 20:24:43 +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 561KOa0B3269925; Tue, 1 Jul 2025 16:24:36 -0400 From: Tom Lane To: Michael Banck cc: pgsql-hackers@lists.postgresql.org, Thomas Munro Subject: Re: GNU/Hurd portability patches In-reply-to: <68643ea2.050a0220.128f53.3f77@mx.google.com> References: <6862e8d1.050a0220.194b8d.76fa@mx.google.com> <3245994.1751388110@sss.pgh.pa.us> <68643ea2.050a0220.128f53.3f77@mx.google.com> Comments: In-reply-to Michael Banck message dated "Tue, 01 Jul 2025 22:01:37 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3269923.1751401476.1@sss.pgh.pa.us> Date: Tue, 01 Jul 2025 16:24:36 -0400 Message-ID: <3269924.1751401476@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Michael Banck writes: > On Tue, Jul 01, 2025 at 12:41:50PM -0400, Tom Lane wrote: > | * If didn't define IOV_MAX, define our own. X/Open requires at > | * least 16. (GNU Hurd apparently feel that they're not bound by X/Open, > | * because they don't define this symbol at all.) > I personally don't care much about those missing limits on the Hurd, but > Thomas mentioned in > CA+hUKG+tqFVY7Fi=WBvZ6-UsATjcPNBDtphDm7YLjevm2kxSvw@mail.gmail.com (and > Samuel Thibault cited the same sentence to me now when I discussed the > commit with him) that POSIX said "A definition of one of the symbolic > constants in the following list shall be omitted from on > specific implementations where the corresponding value is equal to or > greater than the stated minimum, but is unspecified". So "requires at > least 16" might be a bit too strong here, AIUI. Oh, I missed that bit of the spec. I think "requires at least 16" is correct anyway, but the parenthetical remark isn't really right. Not sure if it's worth changing --- the end result is the same in any case. regards, tom lane