From: Bruce Momjian <bruce@momjian.us>
Date: Tue, 3 Aug 2021 16:26:08 +0000 (-0400)
Subject: C comment:  correct heading of extension query
X-Git-Tag: REL_10_18~10
X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=fcdc461f5c4dd6c970ab7c3b155dbfbd72ecdd2c;p=postgresql.git

C comment:  correct heading of extension query

Reported-by: Justin Pryzby

Discussion: https://postgr.es/m/20210803161345.GZ12533@telsasoft.com

Backpatch-through: 9.6
---

diff --git a/src/bin/pg_upgrade/version.c b/src/bin/pg_upgrade/version.c
index b71fcbe13a5..f257cf39ebd 100644
--- a/src/bin/pg_upgrade/version.c
+++ b/src/bin/pg_upgrade/version.c
@@ -463,7 +463,7 @@ report_extension_updates(ClusterInfo *cluster)
 		DbInfo	   *active_db = &cluster->dbarr.dbs[dbnum];
 		PGconn	   *conn = connectToServer(cluster, active_db->db_name);
 
-		/* find hash indexes */
+		/* find extensions needing updates */
 		res = executeQueryOrDie(conn,
 								"SELECT name "
 								"FROM pg_available_extensions "