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.96) (envelope-from ) id 1vvrbU-006pt3-0b for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Feb 2026 06:45:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vvrbT-001R6N-08 for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Feb 2026 06:45:35 +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.96) (envelope-from ) id 1vvrbS-001R6E-2B for pgsql-hackers@lists.postgresql.org; Fri, 27 Feb 2026 06:45:34 +0000 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vvrbP-00000001RR3-3ETr for pgsql-hackers@lists.postgresql.org; Fri, 27 Feb 2026 06:45:33 +0000 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-483a2338616so10182345e9.0 for ; Thu, 26 Feb 2026 22:45:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772174731; x=1772779531; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=7Wt8vnNpgM/queEq9V5nHfjCNbo8hFYvKlUVGQf1jlc=; b=BSz+Lq7AYcwH3fp/cvmxhXZO4Vc5ftpuE7ZG0U0vlswEED6kgow+JKjb3eK1GLcRCw Nd8yqLKdaL7d0JIn6TaTvFHaDBRb+2UV0JHwfK72yLRklRqt36ENWlCtjrXfp/T29J5M RXfOTnm3KEU0QLvaaAk5smgWDnZPJG56EFlQ6cDJ42guGiwy6sS/Jf0peLXTbiUDh2BJ QwnK9UhuvZ27VRApSNwSX6gKy9LN7p9GdkTFEKelMaH2nqXNcxaPRkIGkd8SZnWy+y/i e6uqEsgvNz/3evuIStLcndvzJc3jrbQnSjr45z6GV0YU9PNcPW67kcJb6mgJb3eGvpZX CY1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772174731; x=1772779531; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7Wt8vnNpgM/queEq9V5nHfjCNbo8hFYvKlUVGQf1jlc=; b=hDQq1n7FCCuND224Il35tLavs3cgHKmilOgbdqQN9FkmUACVauxtiKQNF7elLen5fH h7g00mdC+1qT86F9n595zxj29JChjHkPvkSum/YSiWaCgVkuUIYHSBIPFbGPO1vhgkdU nYPZ7KdenmqXWQa3sXY/eFdkogbSt08wnrK9182XYsoBC5ztoU1Ssk11PA+OgOozE3gE uSMc9ooekqbniDUd/AN/F4jmfEwDR8sokEUy6bue7CxkJ6/9GgYiZF1bdfWEBhjATNiH 0izGZTXAN495TM/Py6cYoSOnZHT3dnXeIHbvjnwGQWw0DCL5py1lbT9qOWtgN1hjA5x8 suSg== X-Gm-Message-State: AOJu0YxJf5QKSt2EJHLwp+zl4toEt5oP2Kd0eIxxj/TLtM2cGj/x2OLr 1xCMfY05m/c0vb4oT3aNGWsBjJQmhB8xV7waB3TnZHyAEXqspq67Dqh+ X-Gm-Gg: ATEYQzwp2E6bDCv3tUpKPbLiD+eedLdhe5DueGCPJ7Q6623SmobK3mV7oX4rEtfnrp2 fObkwmQB5FZlTlYQ6xyWdzfJUId9ZxQ0P7cXy/rLwr6Al7Fxf136cm3wU1ZxLRyW4be2XzbQUVZ IiklDyqm7YW0AZUY7Zi9tY1ZAEuZz+G9ffQtBFcR/SkvZoLpFe3VCv2xgmnOCUpngEWvTwqd0Kq FD5P8N03LbeYt7lO59yGeU2dznIdAal2n0aP9jNnzXKZ0Dc7hGb262/u4WeYEfRqyVYmajDeZP1 eINhyBSbge/20A3aMK10c4/h5cti1lQOiX7AiWxSP2HVmG1s1nMsyPBNvC4v6JtvCkVeg7aTMpd Ub6ruZX2YJZtzLQMh+LC1tFg29nfPb1htvVxM3sWPlk+iJp7+x8Hzg3rMkQ2wVcfoi0AtEKm/jX 0uWk/rSzQSQ/icW+H/25/mQme81FHvDpN8PP+4NkL/ncr2j2qUxtSgqQglL2r9GCYM5vP6g2pXp mE8KB0bi2G0Wgs4mqrNypJU5IgPccNLv6GpAmNVBH/DOWaDq6HEyZvmdObCOOJQVaki X-Received: by 2002:a05:600c:630d:b0:483:7903:c3b1 with SMTP id 5b1f17b1804b1-483c9bedb42mr17698295e9.20.1772174731183; Thu, 26 Feb 2026 22:45:31 -0800 (PST) Received: from ip-10-97-1-34.eu-west-3.compute.internal (ec2-15-237-197-144.eu-west-3.compute.amazonaws.com. [15.237.197.144]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-483bfabb84esm168700065e9.0.2026.02.26.22.45.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Feb 2026 22:45:30 -0800 (PST) Date: Fri, 27 Feb 2026 06:45:29 +0000 From: Bertrand Drouvot To: Chao Li Cc: pgsql-hackers@lists.postgresql.org, Jeff Davis Subject: Re: Use pg_icu_unicode_version(void) instead of pg_icu_unicode_version() Message-ID: References: <2E8E63C9-A2F6-4723-A937-B9F6CB34C88A@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2E8E63C9-A2F6-4723-A937-B9F6CB34C88A@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On Fri, Feb 27, 2026 at 02:04:30PM +0800, Chao Li wrote: > > > What I'm interested in is the broader policy: when reviewing patches, > if we encounter a foo() declaration, should we consistently request a change to foo(void)? > If yes, the standard should be documented somewhere. I think that they should be consistently fixed for the reasons mentioned in [1], and that the best way to achieve this goal would be to enable -Wstrict-prototypes by default ([2]). [1]: https://postgr.es/m/aTBObQPg%2Bps5I7vl%40ip-10-97-1-34.eu-west-3.compute.internal [2]: https://postgr.es/m/aTJ9T8HyJN3D024w%40ip-10-97-1-34.eu-west-3.compute.internal Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com