mirror of
https://github.com/postgres/postgres.git
synced 2026-06-08 16:26:30 -04:00
pg_upgrade: revert part of patch for ease of translation
Revert part of 959ee6d267 .
Backpatch-through: 10
This commit is contained in:
parent
b3b058539c
commit
5f45c72e3e
1 changed files with 7 additions and 2 deletions
|
|
@ -310,8 +310,13 @@ start_postmaster(ClusterInfo *cluster, bool throw_error)
|
|||
* running.
|
||||
*/
|
||||
if (!pg_ctl_return)
|
||||
pg_fatal("pg_ctl failed to start the %s server, or connection failed\n",
|
||||
cluster == &old_cluster ? "source" : "target");
|
||||
{
|
||||
/* keep error strings separate to ease translation */
|
||||
if (cluster == &old_cluster)
|
||||
pg_fatal("pg_ctl failed to start the source server, or connection failed\n");
|
||||
else
|
||||
pg_fatal("pg_ctl failed to start the target server, or connection failed\n");
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue