[PATCH] DOCS: Fix inconsistent text description punctuation in UPDATE FOR PORTION OF

ZizhuanLiu X-MAN <44973863@qq.com>

From: X-MAN <44973863@qq.com>
To: pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-05-25T10:14:05Z
Lists: pgsql-hackers

Attachments

Hi,
I noticed an inconsistency in the documentation between UPDATE and DELETE&nbsp;
commands regarding the FOR PORTION OF clause description.&nbsp;


In doc/src/sgml/ref/update.sgml (line 169), the description reads:
&nbsp; "must be in the form ( portion ) where portion is an expression..."&nbsp;


In doc/src/sgml/ref/delete.sgml (line 166), it reads:
&nbsp;"must be&nbsp;in the form ( portion ), where portion is an expression..."&nbsp;


The UPDATE documentation misses a comma before "where" that DELETE has.
For consistency,&nbsp;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.


Best regards,
Zizhuan Liu