Thread: pgsql: Fix incorrect comment regarding command completion tags

pgsql: Fix incorrect comment regarding command completion tags

From
David Rowley
Date:
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(-)