diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2001-05-07 19:31:33 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2001-05-07 19:31:33 +0000 |
commit | 232724af0d4b8077a48cdf370bdb343b299803ed (patch) | |
tree | 677520a61125bfa42a72735d7f99e21ae541f38a /doc/src | |
parent | ab420e21142825a72a63ac45e8fca62f8ed8b00a (diff) | |
download | postgresql-232724af0d4b8077a48cdf370bdb343b299803ed.tar.gz postgresql-232724af0d4b8077a48cdf370bdb343b299803ed.zip |
Add \cd command to psql.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/psql-ref.sgml | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 06b0cbb2b17..c1f405f3f3e 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.49 2001/05/06 17:38:31 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.50 2001/05/07 19:31:33 petere Exp $ Postgres documentation --> @@ -218,6 +218,23 @@ testdb=> </varlistentry> <varlistentry> + <term><literal>\cd</literal> <optional><replaceable>directory</replaceable></optional></term> + <listitem> + <para> + Change the current working directory to + <replaceable>directory</replaceable>. Without argument, + change to the current user's home directory. + </para> + + <tip> + <para> + To print your current working directory, use <literal>\!pwd</literal>. + </para> + </tip> + </listitem> + </varlistentry> + + <varlistentry> <term><literal>\C</literal> [ <replaceable class="parameter">title</replaceable> ]</term> <listitem> <para> |