diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2001-05-06 17:21:11 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2001-05-06 17:21:11 +0000 |
commit | 84e8e5b42798227d1105cd6dc0dda25edbee5418 (patch) | |
tree | 09be91ae44e16fba44c619a8aa9e6406a4a6d705 /doc/src | |
parent | 36161b3086041427132a97224c4f1fdeaad22564 (diff) | |
download | postgresql-84e8e5b42798227d1105cd6dc0dda25edbee5418.tar.gz postgresql-84e8e5b42798227d1105cd6dc0dda25edbee5418.zip |
Make prompt customization work with changeable Unix socket location.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/psql-ref.sgml | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 85efbf56425..9fbafcc8814 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.47 2001/03/24 23:03:26 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.48 2001/05/06 17:21:11 petere Exp $ Postgres documentation --> @@ -1970,14 +1970,27 @@ testdb=> <userinput>\set content `sed -e "s/'/\\\\\\'/g" < my_file.txt`</userinp <variablelist> <varlistentry> <term><literal>%M</literal></term> - <listitem><para>The full hostname (with domain name) of the database server (or - <quote>localhost</quote> if hostname information is not available).</para></listitem> + <listitem> + <para> + The full hostname (with domain name) of the database server, + or <literal>[local]</literal> if the connection is over a + Unix domain socket, or + <literal>[local:<replaceable>/dir/name</replaceable>]</literal>, + if the Unix domain socket is not at the compiled in default + location. + </para> + </listitem> </varlistentry> <varlistentry> <term><literal>%m</literal></term> - <listitem><para>The hostname of the database server, truncated after the - first dot.</para></listitem> + <listitem> + <para> + The hostname of the database server, truncated after the + first dot, or <literal>[local]</literal> if the connection + is over a Unix domain socket. + </para> + </listitem> </varlistentry> <varlistentry> |