| From: | Bruce Momjian <bruce(at)momjian(dot)us> |
|---|---|
| To: | X-MAN <44973863(at)qq(dot)com> |
| Cc: | pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: [PATCH] DOCS: Fix inconsistent text description punctuation in UPDATE FOR PORTION OF |
| Date: | 2026-05-27 00:17:54 |
| Message-ID: | ahY4MtH-K33apiLF@momjian.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Mon, May 25, 2026 at 06:14:05PM +0800, X-MAN wrote:
> Hi,
> I noticed an inconsistency in the documentation between UPDATE and DELETE
> commands regarding the FOR PORTION OF clause description.
>
> In doc/src/sgml/ref/update.sgml (line 169), the description reads:
> "must be in the form ( portion ) where portion is an expression..."
>
> In doc/src/sgml/ref/delete.sgml (line 166), it reads:
> "must be in the form ( portion ), where portion is an expression..."
>
> The UPDATE documentation misses a comma before "where" that DELETE has.
> For consistency, add the comma to the UPDATE documentation to match DELETE.
>
> I have recompiled the documentation and verified that
> share/doc/postgresql/html/sql-update.html and
> share/doc/postgresql/html/sql-delete.html are now consistent.
Good point, patch applied.
--
Bruce Momjian <bruce(at)momjian(dot)us> https://momjian.us
EDB https://enterprisedb.com
Do not let urgent matters crowd out time for investment in the future.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2026-05-27 00:42:49 | Re: Failure in test_slru for host gokiburi (REL_16_STABLE only) |
| Previous Message | Bruce Momjian | 2026-05-27 00:14:01 | Re: [PATCH] DOCS: Add introductory paragraph to Getting Started chapter |