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)
|
||||
{
|
||||
case PQPING_OK:
|
||||
printf("accepting connections\n");
|
||||
printf(_("accepting connections\n"));
|
||||
break;
|
||||
case PQPING_REJECT:
|
||||
printf("rejecting connections\n");
|
||||
printf(_("rejecting connections\n"));
|
||||
break;
|
||||
case PQPING_NO_RESPONSE:
|
||||
printf("no response\n");
|
||||
printf(_("no response\n"));
|
||||
break;
|
||||
case PQPING_NO_ATTEMPT:
|
||||
printf("no attempt\n");
|
||||
printf(_("no attempt\n"));
|
||||
break;
|
||||
default:
|
||||
printf("unknown\n");
|
||||
printf(_("unknown\n"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user