aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/help.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-02-20 14:28:28 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-02-20 14:28:28 +0000
commit718bb2cc9c8483bed143d071aa000f9027c74a41 (patch)
tree119cdaab557c73785ad13f6dd6a37920dc687175 /src/bin/psql/help.c
parent5253c518aef4c906dc6c922c51c2d77b0a78bf75 (diff)
downloadpostgresql-718bb2cc9c8483bed143d071aa000f9027c74a41.tar.gz
postgresql-718bb2cc9c8483bed143d071aa000f9027c74a41.zip
Moved psql \eset and \eshow to \encoding
Improved psql's Ctrl-C handling Fixed configure test for sigsetjmp that now even recognizes it if it's a macro
Diffstat (limited to 'src/bin/psql/help.c')
-rw-r--r--src/bin/psql/help.c14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index 30d2307e892..8fa9187d2da 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.21 2000/02/20 02:37:40 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/help.c,v 1.22 2000/02/20 14:28:20 petere Exp $
*/
#include "postgres.h"
#include "help.h"
@@ -29,6 +29,13 @@
#include "common.h"
#include "sql_help.h"
+/*
+ * PLEASE:
+ * If you change something in this file, also make the same changes
+ * in the DocBook documentation, file ref/psql-ref.sgml. If you don't
+ * know how to do it, please find someone who can help you.
+ */
+
/*
* usage
@@ -200,10 +207,7 @@ 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, " \\encoding <encoding> set client encoding\n");
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");