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 1wAeqA-000CGS-16 for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2026 02:09:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wAeq8-0036I8-1p for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2026 02:09:53 +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 1wAeq8-0036Hz-0t for pgsql-hackers@lists.postgresql.org; Thu, 09 Apr 2026 02:09:53 +0000 Received: from mail-pf1-x435.google.com ([2607:f8b0:4864:20::435]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wAeq6-000000006U1-3q4D for pgsql-hackers@lists.postgresql.org; Thu, 09 Apr 2026 02:09:52 +0000 Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-82a655cfab5so450198b3a.1 for ; Wed, 08 Apr 2026 19:09:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775700588; x=1776305388; 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=cCqIT8Rm517Nx7pfPfSw0wnyK0AOh6wxF2p8Z8jsYdg=; b=bw/P1+ja7MKrB5dEw4283kmj6zMndJGEoKYf28X7ts1+IBvSB2vuFWt8ZqY4nJ665c GzRCUT+GnO6CuzIM89krlMtODIcyJewHDddDwDpNQmeD4tVH+jP+c9Zbvb3UttxFS7Tn v9pRCWA1ge4BhisMtAM8aM9ITzWX/zu3AugprcpRD35FVy7zi9UqYfc+1S13C4lvjYEt bF/T4pjxghk+r+B++yDACF35fTRA/IcL28huqYw0CuSeLkDSpoiinlpJd0AWgwDpl+Jn fPPNPr6t5Qpgh0B36I2gR8Aqa4fwiRUOvnBrUDt46wLtZV+GCBQQuNwkax/S1J3j/yBD PBdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775700588; x=1776305388; 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=cCqIT8Rm517Nx7pfPfSw0wnyK0AOh6wxF2p8Z8jsYdg=; b=HnYNmFOT119R95nzK1u+Uod7PwUyO+2XzmRaDItJLW/sUgIgEaYrNa1eZbP/gg4y4W T3m3wCzuJNLqALEW4Zn9qeGaVSbvWT2UHw1/EBvzRRILQd/tLXYcHW1N28WPCMX6VeUm BrM7p10xDQ7HD9mD+eOhjMshhErm1bv7wsJ3UTrCB4hc9nh4OoL3dcXSZSwM3+vb0MyM Ylywqtd3bATkHg5j8HlNzAPLiX7vMglQWtN5nt2nzWulzM/3dceDQXtn75HauKwiPo1G kV+RKMyR52DFF+1F/04ODRS3N3WveMu6wQDxe90CF3gkIduUIHNj/KVirJeX646IONqS lbug== X-Gm-Message-State: AOJu0Yy+U4whi5n+EcDCmDcxtLGNqteXPiDrXadmLbDEw5EB8Eu7CbQu RM7IRJ/gVMqxCkcdybLYa1aTYHCapNic4s8nwrf0MAnh99bRdD3bS4qM X-Gm-Gg: AeBDiesG+MQCx+HL+87vBSLKkmJcJX5u/IH9afll3qBJHEepc+U9V5Qs2W2aRWzFtRI hZsUlOVx2TfRHwuTrf9FpdgIUBB+QT6b6X8jqj9AuI0CjocA8iC22y0FFx/o32wc77fY+fXp/t9 pPN9+83OrMrgEsleCN5Ln0tYLTR4Sz/TrPl+zx1jXauoNMny4KKpiFT5hvKbyNpiCTQyQKFSnDs 7q+bQXjUsjBUmhNSzxzGun3hM3MrLNDztTw6ITTJsGEmFBx+sRAlHzZ6tTrcKEaWyOvvaV0yfF7 3kFgLPu/3MJO1QJVlYkbZTsUQZ7EQGu+l28X9RY92EVgOl9g+WsqRYXbgrRfPokbgcMu3iC4VXg tHNVZHLR/MX02InAiEfFKlUUxp2JcnZjZtmyVh/cqyhF/5f99CmzeeZmMz3V0+eJqwV8+eY2Q6W xeq8vKI91ZnPo8rveZ0C8wMg7DECTxtvE= X-Received: by 2002:a05:6a00:124b:b0:82c:e0d7:268b with SMTP id d2e1a72fcca58-82dd89f7eaamr1874544b3a.23.1775700588428; Wed, 08 Apr 2026 19:09:48 -0700 (PDT) Received: from smtpclient.apple ([45.32.121.103]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82d59834b63sm6607517b3a.21.2026.04.08.19.09.46 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Apr 2026 19:09:47 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.400.21\)) Subject: Re: Add missing period to HINT messages From: Chao Li In-Reply-To: Date: Thu, 9 Apr 2026 10:09:09 +0800 Cc: PostgreSQL Hackers Content-Transfer-Encoding: quoted-printable Message-Id: <9FE5AA84-F1A1-4E1C-8EF8-3AFD6C46B318@gmail.com> References: To: Peter Smith 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 Apr 9, 2026, at 07:30, Peter Smith wrote: >=20 > Hi, >=20 > According to the error message style guide [1], "Detail and hint > messages: Use complete sentences, and end each with a period." >=20 > I found there is a small group of HINT messages not following that = period rule. >=20 > PSA a patch that fixes the missing period. In passing, also fixed a > typo in a hint message /msut/must/. >=20 > ~~~ >=20 > On further inspection, lots of these affected messages don't even seem > grammatically correct to me. >=20 > I did not modify them, but here are examples of what I mean. >=20 > e.g. > "ALTER TABLE ... MERGE PARTITIONS can only merge partitions don't have > sub-partitions." > /don't have/that don't have/ >=20 > e.g. > "ALTER TABLE ... SPLIT PARTITION can only split partitions don't have > sub-partitions." > /don't have/that don't have/ >=20 > e.g. > "To split DEFAULT partition one of the new partition must be DEFAULT." > missing word? -- "To split the DEFAULT partition" > should be plural? -- "one of the new partitions" >=20 > e.g. > "%s require combined bounds of new partitions must exactly match the > bound of the split partition." > /require/requires/ ? > /match the bound/match the bounds/ >=20 > =3D=3D=3D=3D=3D=3D > [1] = https://www.postgresql.org/docs/devel/error-style-guide.html#ERROR-STYLE-G= UIDE-GRAMMAR-PUNCTUATION >=20 > Kind Regards, > Peter Smith. > Fujitsu Australia > LGTM. BTW, errdetail should follow the same style, and I see some detail = messages miss periods, maybe this patch can include those as well. Best regards, -- Chao Li (Evan) HighGo Software Co., Ltd. https://www.highgo.com/