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 1wAg1L-000DUg-1b for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2026 03:25:31 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wAg1J-003Iw2-15 for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Apr 2026 03:25:30 +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 1wAg1J-003Ivu-09 for pgsql-hackers@lists.postgresql.org; Thu, 09 Apr 2026 03:25:29 +0000 Received: from mail-qt1-x82e.google.com ([2607:f8b0:4864:20::82e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wAg1H-0000000074M-1rJv for pgsql-hackers@lists.postgresql.org; Thu, 09 Apr 2026 03:25:29 +0000 Received: by mail-qt1-x82e.google.com with SMTP id d75a77b69052e-506251815a3so3747341cf.0 for ; Wed, 08 Apr 2026 20:25:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775705125; cv=none; d=google.com; s=arc-20240605; b=f9nbM5rGU5u7nf0bQbP37p7GBp2BkFU+8amPOvm5LHuXZjGet+lL7piSkZaKUU4nta qlC5qOzNg/4cR7V7nOZifwIaK9+zlpCj1yHfXWlxLfjMcjouc0yFdjMRkYkBCeFrBi/I vZN0m14yd/FjjSqXWPe7Y9cEp6vT8xAGriJFj62pLWFxGvLQNgLZIWwMyEukcJD/dPqs UgDSlWF/V4v+l0Sjl9VgP5zjCb6vHOPQN3JxrpahsdxQEgQkIRwzYDUufCAtWKHvbESq JLeyHf8x+l2/K2bzBhTjE1EJ0Ead2MtBK8Zps1WQULRHJP61N3CuWK8pzDLW6QigX8pv bZyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=lX0pqdcGvFnc9XaTw38FCwzBxR1aRbw1Tw27YL5hIRs=; fh=difWPyZhf+FMfWnUHiBJsrLSKQJL23D1+3HP+YAZNos=; b=NxVoGpMLST6ShWH7eNJ2LijLoYxgcK+CRw2WM6hF6VihO+pRlf+txw2U6svVN49Ixf oXPe51pIfCZCUDCsBaE86dDNu+o2QiGphcVZJnKP2nI/IcwOLzPQru9UL5GFwHjpC81e i1zeaLNLCAyNUrEMiCvA32z0ggBprpqCJ1RQnBWSK5UKmbqDmqzsow5VdsljKRPLF3ek BqlXu0jmvVLcJC31BNlstgMe2Qu7ATm5KXp//20MyWoxOE/sh6TvcDR+FYVlojheQZS6 9F2/6WB+9Xo9Bqn1I7xqBK7fVIDJNU9DcS68s4zaF2AywkKwSx3NNkzYmCFGZXeRfWd4 hMOQ==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1775705125; x=1776309925; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=lX0pqdcGvFnc9XaTw38FCwzBxR1aRbw1Tw27YL5hIRs=; b=hWPcgX9v39WgFWblKWVqTM3trymytMlq8l9eFfGbRtHwzwKu+/itSgLlzy1zSYAw2X jFYQ4hPxibIeJTtWg0YhxyQCDW0KFDFAwWatNm++vv/3nNsPU7eKykitZfuJtG0a5gJa v+vnrqavMnUsCkOjEm15Kbk7HwLT/TwJ36KTvxQ7et0skVzt7h2ZlniEc1053ZHHg3ps ha4YbUd5g4kDRPmixfB62cCK7hPM1Jj/gcMRohpYZayPMfZzmP7ESqDIUl7cuq2rTMq5 441Duk272B4mPJg+JP5nWkfZgqy+nK1hjlNUOSBgrG+twSZLbzDvz99aovrpY4mWXpep FiuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775705125; x=1776309925; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=lX0pqdcGvFnc9XaTw38FCwzBxR1aRbw1Tw27YL5hIRs=; b=jH4DTk7I0tvEvqnFJ+lSC0ECTcv8Do5OkdOUC/wpqUvS8FTIhBoUzBzLWVbHIEKc7+ V3GdfpKYPeCfP1icYTy7zqJOa5VkBryWpfsQUe6wiA2FVXmw8WaTuuKHN9Ger7E2wJA+ CUZ4dvUfnk4H2wk3sTAbjjmJXOR/OmRi7kM0+58XsXIQzIfePxZ5+pLeaZF5tdB+IB8W yArZq2pZgehFcd4wEE/sdSopl8AMtLF0NfX631ZEp4ikngxOTCNM6WiPQNY2i1lLZvok sFrEusJRvS26zwqKh0Nh5YzpQova8rU4WYfZpjiMCxdZZcLP8Afi1cqJRPsQh/qubuIa hz5A== X-Gm-Message-State: AOJu0Yz3y0zxhbM35htAApAZL2U3c9vZxj1wvEgB257JU/miOTBcXPcJ I4N+8J97BAYtZIk03yqCt8X4t2wOvUwxUHeveUm1HAhNouvkIHJRBkdFZXbPJAU4rWE/q34kgMu yCI6ktpvrsBoJIYNjO+8ReYrDJrFANGE= X-Gm-Gg: AeBDietWi6ugMVyXQOPbgXdW9n5b4BExyscYr2WUfyl/geqEEMY7fhH3aFhJyVbegAL xjnHITILTD30EmmMu8cexDvTNhgo5X5ChweKPtf2E/UaEdoqyS8Lc0RgIJ2sKu8h1TnUyg3vjtG RhRNYjYsmFZNaEWqt7NJmSSBopaCag5e9EGtaTOdAOY8UwUJvO6iAb77Qda+zDlEMCs8BkCs/y2 TgYvpNClQ51zJCpA9LmQsn6dLYUDnZUv6RGbiFbjwbWuZqmC5+VRlxmRfbndxkFhMhJW5DjHC+R 8htNQG0= X-Received: by 2002:a05:622a:1923:b0:509:4406:44e0 with SMTP id d75a77b69052e-50d629c363bmr335992261cf.27.1775705125549; Wed, 08 Apr 2026 20:25:25 -0700 (PDT) MIME-Version: 1.0 References: <9FE5AA84-F1A1-4E1C-8EF8-3AFD6C46B318@gmail.com> In-Reply-To: <9FE5AA84-F1A1-4E1C-8EF8-3AFD6C46B318@gmail.com> From: Peter Smith Date: Thu, 9 Apr 2026 13:24:59 +1000 X-Gm-Features: AQROBzCL8xbN7J4aeAU4CDweTv3zeMJJgoKV9u2aeI1CqO4W88EZOL8A9WrXKic Message-ID: Subject: Re: Add missing period to HINT messages To: Chao Li Cc: PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, Apr 9, 2026 at 12:09=E2=80=AFPM Chao Li wr= ote: > > > > > On Apr 9, 2026, at 07:30, Peter Smith wrote: > > > > Hi, > > > > According to the error message style guide [1], "Detail and hint > > messages: Use complete sentences, and end each with a period." > > > > I found there is a small group of HINT messages not following that peri= od rule. > > > > PSA a patch that fixes the missing period. In passing, also fixed a > > typo in a hint message /msut/must/. > > > > ~~~ > > > > On further inspection, lots of these affected messages don't even seem > > grammatically correct to me. > > > > I did not modify them, but here are examples of what I mean. > > > > e.g. > > "ALTER TABLE ... MERGE PARTITIONS can only merge partitions don't have > > sub-partitions." > > /don't have/that don't have/ > > > > e.g. > > "ALTER TABLE ... SPLIT PARTITION can only split partitions don't have > > sub-partitions." > > /don't have/that don't have/ > > > > 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" > > > > 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/ > > > > =3D=3D=3D=3D=3D=3D > > [1] https://www.postgresql.org/docs/devel/error-style-guide.html#ERROR-= STYLE-GUIDE-GRAMMAR-PUNCTUATION > > > > Kind Regards, > > Peter Smith. > > Fujitsu Australia > > > > LGTM. > > BTW, errdetail should follow the same style, and I see some detail messag= es miss periods, maybe this patch can include those as well. > Yep. It is already under way. I will post the equivalent errdetail patch shortly. (as soon as it passes running make- check-world). =3D=3D=3D=3D=3D=3D Kind Regards, Peter Smith. Fujitsu Australia