Content-Length: 259109 | pFad | http://github.com/postgrespro/postgres/commit/bd6aca8a7713ecc0bed94dfb081bf24eda0c1f55

98 pg_upgrade: report failed cluster name · postgrespro/postgres@bd6aca8 · GitHub
Skip to content

Commit bd6aca8

Browse files
committed
pg_upgrade: report failed cluster name
When pg_upgrade can't find required pg_controldata information, report _which_ cluster is failing, with this message: The %s cluster lacks some required control information:
1 parent 168d315 commit bd6aca8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/pg_upgrade/controldata.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,8 @@ get_control_data(ClusterInfo *cluster, bool live_check)
477477
!got_date_is_int || !got_float8_pass_by_value)
478478
{
479479
pg_log(PG_REPORT,
480-
"Some required control information is missing; cannot find:\n");
480+
"The %s cluster lacks some required control information:\n",
481+
CLUSTER_NAME(cluster));
481482

482483
if (!got_xid)
483484
pg_log(PG_REPORT, " checkpoint next XID\n");

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/commit/bd6aca8a7713ecc0bed94dfb081bf24eda0c1f55

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy