| From: | David Rowley <drowley(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Fix incorrect comment regarding command completion tags |
| Date: | 2022-10-14 01:32:23 |
| Message-ID: | E1oj9Yl-002GpT-9i@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Fix incorrect comment regarding command completion tags
The comment talked about some Asserts which did not exist and also a
variable name which seems to have long since disappeared.
Rewrite the comment in a way that will hopefully stand the test of
time and inform people why we always write "INSERT 0 <nrows>" instead of
"INSERT <nrows>" in the command completion tag for INSERT.
Reviewed-by: Mark Dilger
Discussion: https://postgr.es/m/CAApHDvpiUg09AvvGAVopNAKemA9z-kCmt7Fi6HKauc32bKzx4w@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/39b8c293fcde1d845da4d7127a25d41df53faab5
Modified Files
--------------
src/backend/tcop/dest.c | 15 ++++++++-------
1 file changed, 8 insertions(+), 7 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Peter Eisentraut | 2022-10-14 06:49:42 | pgsql: doc: Correct type of bgw_notify_pid |
| Previous Message | Daniel Gustafsson | 2022-10-13 21:28:51 | pgsql: Remove redundant memset call following palloc0 |