diff --git a/contrib/pg_upgrade/info.c b/contrib/pg_upgrade/info.c
index 20b017b09c2b9a7860a2bbcb8da8206c54f02645..a1773aa8e53bdcfacb71a23a3b3017f9e49331f9 100644
--- a/contrib/pg_upgrade/info.c
+++ b/contrib/pg_upgrade/info.c
@@ -332,8 +332,8 @@ get_rel_infos(ClusterInfo *cluster, DbInfo *dbinfo)
 		 * pg_dump only dumps valid indexes;  testing indisready is necessary in
 		 * 9.2, and harmless in earlier/later versions.
 		 */
-			" 		i.indisvalid IS DISTINCT FROM false AND "
-			" 		i.indisready IS DISTINCT FROM false AND "
+			"		i.indisvalid IS DISTINCT FROM false AND "
+			"		i.indisready IS DISTINCT FROM false AND "
 		/* exclude possible orphaned temp tables */
 			"	  ((n.nspname !~ '^pg_temp_' AND "
 			"	    n.nspname !~ '^pg_toast_temp_' AND "
@@ -347,7 +347,7 @@ get_rel_infos(ClusterInfo *cluster, DbInfo *dbinfo)
 		 * We have to gather the TOAST tables in later steps because we
 		 * can't schema-qualify TOAST tables.
 		 */
- 		 /* get TOAST heap */
+		 /* get TOAST heap */
 			"	toast_heap (reloid) AS ( "
 			"	SELECT reltoastrelid "
 			"	FROM regular_heap JOIN pg_catalog.pg_class c "