From 84e8e5b42798227d1105cd6dc0dda25edbee5418 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sun, 6 May 2001 17:21:11 +0000 Subject: Make prompt customization work with changeable Unix socket location. --- doc/src/sgml/ref/psql-ref.sgml | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) (limited to 'doc/src') 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 @@ @@ -1970,14 +1970,27 @@ testdb=> \set content `sed -e "s/'/\\\\\\'/g" < my_file.txt` %M - The full hostname (with domain name) of the database server (or - localhost if hostname information is not available). + + + The full hostname (with domain name) of the database server, + or [local] if the connection is over a + Unix domain socket, or + [local:/dir/name], + if the Unix domain socket is not at the compiled in default + location. + + %m - The hostname of the database server, truncated after the - first dot. + + + The hostname of the database server, truncated after the + first dot, or [local] if the connection + is over a Unix domain socket. + + -- cgit v1.2.3