From 00fad9f6fef8ed166b183ad45a9bd863d965d81c Mon Sep 17 00:00:00 2001
From: Peter Eisentraut <peter_e@gmx.net>
Date: Tue, 10 May 2011 21:40:29 +0300
Subject: [PATCH] Format pg_upgrade --version in line with conventions

---
 contrib/pg_upgrade/option.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/pg_upgrade/option.c b/contrib/pg_upgrade/option.c
index dedc48a9936..36561b9b4ca 100644
--- a/contrib/pg_upgrade/option.c
+++ b/contrib/pg_upgrade/option.c
@@ -81,7 +81,7 @@ parseCommandLine(int argc, char *argv[])
 		}
 		if (strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-V") == 0)
 		{
-			pg_log(PG_REPORT, "pg_upgrade " PG_VERSION "\n");
+			puts("pg_upgrade (PostgreSQL) " PG_VERSION);
 			exit(0);
 		}
 	}
-- 
GitLab