diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2003-09-25 06:58:07 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2003-09-25 06:58:07 +0000 |
commit | feb4f44d296b88b7f0723f4a4f3945a371276e0b (patch) | |
tree | 6acfa253cd3896fa96124fdcefdbc8e5cb5bb0da /src/backend/commands/variable.c | |
parent | 42013caf648ad4bd64b130efda760cdb1620e953 (diff) | |
download | postgresql-feb4f44d296b88b7f0723f4a4f3945a371276e0b.tar.gz postgresql-feb4f44d296b88b7f0723f4a4f3945a371276e0b.zip |
Message editing: remove gratuitous variations in message wording, standardize
terms, add some clarifications, fix some untranslatable attempts at dynamic
message building.
Diffstat (limited to 'src/backend/commands/variable.c')
-rw-r--r-- | src/backend/commands/variable.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/commands/variable.c b/src/backend/commands/variable.c index ad39ccc4670..7c862a5b3ac 100644 --- a/src/backend/commands/variable.c +++ b/src/backend/commands/variable.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/variable.c,v 1.87 2003/08/04 02:39:58 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/variable.c,v 1.88 2003/09/25 06:57:59 petere Exp $ * *------------------------------------------------------------------------- */ @@ -72,7 +72,7 @@ assign_datestyle(const char *value, bool doit, bool interactive) if (interactive) ereport(ERROR, (errcode(ERRCODE_INVALID_PARAMETER_VALUE), - errmsg("invalid list syntax for datestyle"))); + errmsg("invalid list syntax for parameter \"datestyle\""))); return NULL; } @@ -158,7 +158,7 @@ assign_datestyle(const char *value, bool doit, bool interactive) if (interactive) ereport(ERROR, (errcode(ERRCODE_INVALID_PARAMETER_VALUE), - errmsg("unrecognized datestyle keyword: \"%s\"", + errmsg("unrecognized \"datestyle\" key word: \"%s\"", tok))); ok = false; break; @@ -176,7 +176,7 @@ assign_datestyle(const char *value, bool doit, bool interactive) if (interactive) ereport(ERROR, (errcode(ERRCODE_INVALID_PARAMETER_VALUE), - errmsg("conflicting datestyle specifications"))); + errmsg("conflicting \"datestyle\" specifications"))); return NULL; } @@ -447,7 +447,7 @@ assign_timezone(const char *value, bool doit, bool interactive) if (interactive) ereport(ERROR, (errcode(ERRCODE_INVALID_PARAMETER_VALUE), - errmsg("invalid INTERVAL for time zone: month not allowed"))); + errmsg("invalid interval value for time zone: month not allowed"))); pfree(interval); return NULL; } @@ -554,7 +554,7 @@ assign_timezone(const char *value, bool doit, bool interactive) { ereport(interactive ? ERROR : LOG, (errcode(ERRCODE_INVALID_PARAMETER_VALUE), - errmsg("unrecognized timezone name: \"%s\"", + errmsg("unrecognized time zone name: \"%s\"", value))); return NULL; } @@ -562,9 +562,9 @@ assign_timezone(const char *value, bool doit, bool interactive) { ereport(interactive ? ERROR : LOG, (errcode(ERRCODE_INVALID_PARAMETER_VALUE), - errmsg("timezone \"%s\" appears to use leap seconds", + errmsg("time zone \"%s\" appears to use leap seconds", value), - errdetail("PostgreSQL does not support leap seconds"))); + errdetail("PostgreSQL does not support leap seconds."))); return NULL; } } |