Content-Length: 269249 | pFad | http://github.com/postgrespro/postgres_cluster/commit/3e6f01fd7d9b01b17626a6bc38cf664354eede71

93 pg_upgrade: revert part of patch for ease of translation · postgrespro/postgres_cluster@3e6f01f · GitHub
Skip to content

Commit 3e6f01f

Browse files
committed
pg_upgrade: revert part of patch for ease of translation
Revert part of 959ee6d . Backpatch-through: 10
1 parent 959ee6d commit 3e6f01f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/bin/pg_upgrade/server.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,8 +310,13 @@ start_postmaster(ClusterInfo *cluster, bool throw_error)
310310
* running.
311311
*/
312312
if (!pg_ctl_return)
313-
pg_fatal("pg_ctl failed to start the %s server, or connection failed\n",
314-
cluster == &old_cluster ? "source" : "target");
313+
{
314+
/* keep error strings separate to ease translation */
315+
if (cluster == &old_cluster)
316+
pg_fatal("pg_ctl failed to start the source server, or connection failed\n");
317+
else
318+
pg_fatal("pg_ctl failed to start the target server, or connection failed\n");
319+
}
315320

316321
return true;
317322
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/3e6f01fd7d9b01b17626a6bc38cf664354eede71

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy