mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-15 08:20:16 +08:00
Mark response messages for translation in pg_isready.
Back-patch to 9.3 where pg_isready was added. Mats Erik Andersson
This commit is contained in:
parent
c168ba3112
commit
e656f5d247
@ -196,19 +196,19 @@ main(int argc, char **argv)
|
|||||||
switch (rv)
|
switch (rv)
|
||||||
{
|
{
|
||||||
case PQPING_OK:
|
case PQPING_OK:
|
||||||
printf("accepting connections\n");
|
printf(_("accepting connections\n"));
|
||||||
break;
|
break;
|
||||||
case PQPING_REJECT:
|
case PQPING_REJECT:
|
||||||
printf("rejecting connections\n");
|
printf(_("rejecting connections\n"));
|
||||||
break;
|
break;
|
||||||
case PQPING_NO_RESPONSE:
|
case PQPING_NO_RESPONSE:
|
||||||
printf("no response\n");
|
printf(_("no response\n"));
|
||||||
break;
|
break;
|
||||||
case PQPING_NO_ATTEMPT:
|
case PQPING_NO_ATTEMPT:
|
||||||
printf("no attempt\n");
|
printf(_("no attempt\n"));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
printf("unknown\n");
|
printf(_("unknown\n"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user