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 1vvqyT-006Del-0C for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Feb 2026 06:05:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vvqyQ-0016cE-31 for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Feb 2026 06:05:14 +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.96) (envelope-from ) id 1vvqyQ-0016bz-20 for pgsql-hackers@lists.postgresql.org; Fri, 27 Feb 2026 06:05:14 +0000 Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vvqyN-00000001WCC-1uJ2 for pgsql-hackers@lists.postgresql.org; Fri, 27 Feb 2026 06:05:14 +0000 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-8274a3db5e3so431567b3a.0 for ; Thu, 26 Feb 2026 22:05:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1772172310; x=1772777110; darn=lists.postgresql.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=LxW+dFakyW4d1I69JcWfs/fkN/XGl8+HkPft24YKol0=; b=k/4g2wlu1ik5xGluMBAttKMaTEh9+lKRp/M2ZaLNS4Dff0ky1D4xpUn8wahp2boAVv TQ+SwWgnsjKyjOggndVUIzO4k5r6CPzvlzwFEmGiGEte9V9+o0Xmc+4xoMRxuJhTZrKG YvVB2HOydTr8sae+mpCz9Ur4esa+xUmD+qx9viZMuaKRlQyNBhaPyga+TNu0gvdGfKcq XcZHs+j3CseXjNc2DmAcCIRdSxHK+q3MgkGON/dkuGrwz/wHQO47bSqo2FG0UOAhPn3E 9n/xvzCj1XCajoK47ff4QbKUoi7t+a96FAki8vgwk9jKZMhICZFjkq9fZxWSBWKhabKR 8l7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772172310; x=1772777110; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=LxW+dFakyW4d1I69JcWfs/fkN/XGl8+HkPft24YKol0=; b=ZPDFJmMbEKkJoNuEhYgxWYd1pb8/gVsUQBwG8QbuC+i+C906XT9+8nmvyMABcO+1r3 T1quRIIHr58qPzVZYJHu8AUks6U03MrkAsre18SJhTSTPpGLVQXQOyHCVzruybsuCw9T vHuYsMbNNr4jDhJwWFbzL24hbZfUJfRDo/QZjNKzIJaYmqjAsdqHpIKFjgbiisv3kQZI /E/wkqYzviFKN6UfO1o5CzQjjFlIU6/GaTpU55RMlvNYCucsXU+cq90Rf2pHK8utGBaa 7n+lQ1yTpco03wXVTlYXFfwO5CLY0Ope52/d14/v/O+mr9ykSnW3ccjJ7C0DUbeD8mzO WpRw== X-Gm-Message-State: AOJu0YxvGu76+RDrOdsZ4/uSp0z1gXdk/6IzrroQqPGBFzKE06Ub1e6s w2LhndS/NCYJktomNw6/WNsRUYlf5hxg1lByabSAtkaNfW3leswIHKNP X-Gm-Gg: ATEYQzxWTpOgl/uMr1fhqbMPibad+AMz1Qa7rtZ+F9h5cUZO8YRExEsrOYWzv9FC5Ob 2n5pmYLXVa6l8BcXTeMpVm2glJuZSOINoou7AxrBQxEcLZc73r7gYyDIHfLjZXkJ4rJUx7kLOj8 waT1Hzp+aTB7vpkSH2DQYrnMNCidwXPXyJxiRkJhF4GTUEvL05FnkwYi4kpNvdj1QMebNNabF9C ZoBX1uuHxWFbiNqNFPlqiOrmxaI1m5kZPndANx2IIv6qaBj4wdc100Zs+wnExLYwMW7ohLQKEJ1 wLIm9ay9zHox42leo8URWGhNIE5anRrY1DpqUr8yGjmm/mH3ckg31IRy8zIsutAjdqoXW5MFBa9 eOL2mvwxljjLf3GxoiA1LRC2rNoNPt5kr6YH/C96MR1VT6JAl3SokIzJdjRQQHYz2M6Vu778ILr gUGj32OKuAwtDHUytghkZ5BUapXZSIOgKcW3IlDpMDVQ== X-Received: by 2002:a05:6a00:9290:b0:827:3310:fb18 with SMTP id d2e1a72fcca58-8274da13ecamr1568248b3a.51.1772172309564; Thu, 26 Feb 2026 22:05:09 -0800 (PST) Received: from smtpclient.apple ([45.32.121.103]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-8273a010996sm3727802b3a.44.2026.02.26.22.05.07 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 Feb 2026 22:05:08 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.400.21\)) Subject: Re: Use pg_icu_unicode_version(void) instead of pg_icu_unicode_version() From: Chao Li In-Reply-To: Date: Fri, 27 Feb 2026 14:04:30 +0800 Cc: pgsql-hackers@lists.postgresql.org, Jeff Davis Content-Transfer-Encoding: quoted-printable Message-Id: <2E8E63C9-A2F6-4723-A937-B9F6CB34C88A@gmail.com> References: To: Bertrand Drouvot X-Mailer: Apple Mail (2.3864.400.21) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Feb 27, 2026, at 12:46, Bertrand Drouvot = wrote: >=20 > Hi hackers, >=20 > Standard practice in PostgreSQL is to use "foo(void)" instead of = "foo()", as the > latter looks like an "old-style" function declaration. 9b05e2ec08a did = fix > all the ones reported by -Wstrict-prototypes. >=20 > af2d4ca191a4 introduced a new one, this patch fixes it. >=20 > Regards, >=20 > --=20 > Bertrand Drouvot > PostgreSQL Contributors Team > RDS Open Source Databases > Amazon Web Services: https://aws.amazon.com > This patch is straightforward. 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. Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/