pg_ctl: fix initdb version check
We should check for the GPDB version string, not the one from upstream
Postgres.
@@ -916,7 +916,7 @@ do_init(void)
char cmd[MAXPGPATH];
if (exec_path == NULL)
- exec_path = find_other_exec_or_die(argv0, "initdb", "initdb (PostgreSQL) " PG_VERSION "\n");
+ exec_path = find_other_exec_or_die(argv0, "initdb", "initdb (Greenplum Database) " PG_VERSION "\n");
if (pgdata_opt == NULL)
pgdata_opt = "";
