From: Peter Eisentraut Date: Mon, 2 Sep 2002 22:18:26 +0000 (+0000) Subject: Convert control status codes to human-readable strings. X-Git-Tag: REL7_3~611 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3851a92f38515a0a54785cc6a492a060610d5e06;p=postgresql Convert control status codes to human-readable strings. --- diff --git a/src/bin/pg_controldata/pg_controldata.c b/src/bin/pg_controldata/pg_controldata.c index c2fea16b09..64ece82bf8 100644 --- a/src/bin/pg_controldata/pg_controldata.c +++ b/src/bin/pg_controldata/pg_controldata.c @@ -6,7 +6,7 @@ * copyright (c) Oliver Elphick , 2001; * licence: BSD * - * $Header: /cvsroot/pgsql/src/bin/pg_controldata/pg_controldata.c,v 1.4 2002/09/02 02:47:07 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/pg_controldata/pg_controldata.c,v 1.5 2002/09/02 22:18:26 petere Exp $ */ #include "postgres.h" @@ -38,15 +38,15 @@ dbState(DBState state) switch (state) { case DB_STARTUP: - return "STARTUP"; + return _("starting up"); case DB_SHUTDOWNED: - return "SHUTDOWNED"; + return _("shut down"); case DB_SHUTDOWNING: - return "SHUTDOWNING"; + return _("shutting down"); case DB_IN_RECOVERY: - return "IN_RECOVERY"; + return _("in recovery"); case DB_IN_PRODUCTION: - return "IN_PRODUCTION"; + return _("in production"); } return _("unrecognized status code"); }