diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2000-02-19 05:01:16 +0000 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2000-02-19 05:01:16 +0000 |
commit | eb089e7f766f6d366641d582e38ac59a2bb57123 (patch) | |
tree | 49aa05b8907872256a17f70f5d7b7e4a05481004 /src/bin/psql/help.c | |
parent | c239c11a63ceb8870676d59d83adac0e7bdf7db0 (diff) | |
download | postgresql-eb089e7f766f6d366641d582e38ac59a2bb57123.tar.gz postgresql-eb089e7f766f6d366641d582e38ac59a2bb57123.zip |
Add new backslash command \eset and \eshow.
Diffstat (limited to 'src/bin/psql/help.c')
-rw-r--r-- | src/bin/psql/help.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index 63e4bda5d74..ddd8b22c350 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.19 2000/02/16 13:15:26 momjian Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.20 2000/02/19 05:01:16 ishii Exp $ */ #include "postgres.h" #include "help.h" @@ -200,6 +200,10 @@ slashUsage(void) fprintf(fout, " \\dT list data types\n"); fprintf(fout, " \\e [fname] edit the current query buffer or <fname> with external editor\n"); fprintf(fout, " \\echo <text> write text to stdout\n"); +#ifdef MULTIBYTE + fprintf(fout, " \\eset <encoding> set client encoding\n"); + fprintf(fout, " \\eshow show client encoding\n"); +#endif fprintf(fout, " \\g [fname] send query to backend (and results in <fname> or |pipe)\n"); fprintf(fout, " \\h [cmd] help on syntax of sql commands, * for all commands\n"); fprintf(fout, " \\i <fname> read and execute queries from filename\n"); |