From bd8e071482e3c33876295aae5523fe57ce35025b Mon Sep 17 00:00:00 2001 From: Peter Eisentraut <peter_e@gmx.net> Date: Sun, 20 Feb 2000 14:29:21 +0000 Subject: [PATCH] Forgot to include the documentation for \encoding ... --- doc/src/sgml/ref/psql-ref.sgml | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 78cfaf73097..f76d212c1e0 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.25 2000/02/13 21:45:13 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.26 2000/02/20 14:29:21 petere Exp $ Postgres documentation --> @@ -535,6 +535,18 @@ Tue Oct 26 21:40:57 CEST 1999 </varlistentry> + <varlistentry> + <term><literal>\encoding</literal> [ <replaceable class="parameter">encoding</replaceable> ]</term> + + <listitem> + <para> + Sets the client encoding, if you are using multibyte encodings. + Without an argument, this command shows the current encoding. + </para> + </listitem> + </varlistentry> + + <varlistentry> <term><literal>\f</literal> [ <replaceable class="parameter">string</replaceable> ]</term> @@ -1657,6 +1669,17 @@ bar </listitem> </varlistentry> + <varlistentry> + <term><envar>ENCODING</envar></term> + <listitem> + <para> + The current client multibyte encoding. If you are not set up to use + multibyte characters, this variable will always contain + <quote>SQL_ASCII</quote>. + </para> + </listitem> + </varlistentry> + <varlistentry> <term><envar>HISTCONTROL</envar></term> <listitem> -- GitLab