Fix incorrect comment regarding command completion tags
authorDavid Rowley <drowley@postgresql.org>
Fri, 14 Oct 2022 01:32:00 +0000 (14:32 +1300)
committerDavid Rowley <drowley@postgresql.org>
Fri, 14 Oct 2022 01:32:00 +0000 (14:32 +1300)
commit39b8c293fcde1d845da4d7127a25d41df53faab5
tree1d4aee48087aae47ff121909d7ffcb829bd9d120
parentba185d318dd34ed3e860b3a19869fbc15007db8f
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
src/backend/tcop/dest.c