| From: | X-MAN <44973863(at)qq(dot)com> |
|---|---|
| To: | pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | [PATCH] DOCS: Fix inconsistent text description punctuation in UPDATE FOR PORTION OF |
| Date: | 2026-05-25 10:14:05 |
| Message-ID: | tencent_90A64D807DE3586650CF3426C28BB599D30A@qq.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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.
Best regards,
Zizhuan Liu
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-DOCS-Fix-missing-comma-in-UPDATE-FOR-PORTION-OF-text.patch | application/octet-stream | 1.1 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | anupam MEDIRATTA | 2026-05-25 10:29:28 | [PATCH] Defensive hardening: Replace sprintf with snprintf in pg_stat_statements |
| Previous Message | Xuneng Zhou | 2026-05-25 10:01:15 | Re: Support loser tree for k-way merge |