pgsql: Fix incorrect comment regarding command completion tags - Mailing list pgsql-committers

From David Rowley
Subject pgsql: Fix incorrect comment regarding command completion tags
Date
Msg-id E1oj9Yl-002GpT-9i@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: Remove redundant memset call following palloc0
Next
From: Peter Eisentraut
Date:
Subject: pgsql: doc: Correct type of bgw_notify_pid