Fix incorrect comment regarding command completion tags

David Rowley <drowley@postgresql.org>

Commit: 39b8c293fcde1d845da4d7127a25d41df53faab5
Author: David Rowley <drowley@postgresql.org>
Date: 2022-10-14T01:32:00Z
Releases: 16.0
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

Files

PathChange+/−
src/backend/tcop/dest.c modified +8 −7

Discussion