diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2001-06-02 18:25:18 +0000 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2001-06-02 18:25:18 +0000 |
| commit | e54203646176167271dc50a7b8f7bbe0d3ea6e75 (patch) | |
| tree | 06e6275b18f1d14afeda777f12f31a75d3c8b527 /src/bin/psql/copy.c | |
| parent | 58193c5f37838b49043925437e3c99711ca66407 (diff) | |
Native Language Support (NLS)
Use --enable-nls to turn it on; see installation instructions for details.
See developer's guide how to make use of it in programs and how to add
translations.
psql sources have been almost fully prepared and an incomplete German
translation has been provided. In the backend, only elog() calls are
currently translatable, and the provided German translation file is more
of a placeholder.
Diffstat (limited to 'src/bin/psql/copy.c')
| -rw-r--r-- | src/bin/psql/copy.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/bin/psql/copy.c b/src/bin/psql/copy.c index d89d7bec360..0f5cb1e8d83 100644 --- a/src/bin/psql/copy.c +++ b/src/bin/psql/copy.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/copy.c,v 1.18 2001/03/22 04:00:19 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/copy.c,v 1.19 2001/06/02 18:25:18 petere Exp $ */ #include "postgres_fe.h" #include "copy.h" @@ -207,10 +207,10 @@ parse_slash_copy(const char *args) if (error) { - psql_error("\\copy: parse error at %s%s%s\n", - token ? "'" : "", - token ? token : "end of line", - token ? "'" : ""); + if (token) + psql_error("\\copy: parse error at '%s'\n", token); + else + psql_error("\\copy: parse error at end of line\n"); free_copy_options(result); return NULL; } |
