diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index d012b71fa00..c90947bba90 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -573,7 +573,8 @@ EOF determined at compile time. Since the database server uses the same default, you will not have to specify the port in most cases. The default user name is your - Unix user name, as is the default database name. Note that you cannot + operating-system user name, as is the default database name. + Note that you cannot just connect to any database under any user name. Your database administrator should have informed you about your access rights. @@ -1459,14 +1460,14 @@ Tue Oct 26 21:40:57 CEST 1999 - \g [ { filename | |command } ] - + \g [ filename ] + \g [ |command ] - Sends the current query input buffer to the server and + Sends the current query input buffer to the server, and optionally stores the query's output in filename or pipes the output - into a separate Unix shell executing command. A bare \g is virtually equivalent to a semicolon. A \g with argument is a one-shot @@ -1500,7 +1501,7 @@ Tue Oct 26 21:40:57 CEST 1999 - \H + \H or \html Turns on HTML query output format. If the @@ -1514,7 +1515,7 @@ Tue Oct 26 21:40:57 CEST 1999 - \i filename + \i or \include filename Reads input from the file - \o [ {filename | |command} ] - + \o or \out [ filename ] + \o or \out [ |command ] - Saves future query results to the file filename or pipes future results - into a separate Unix shell to execute command. If no arguments are - specified, the query output will be reset to the standard output. + Arranges to save future query results to the file filename or pipe future results + to the shell command command. If no argument is + specified, the query output is reset to the standard output. @@ -1663,7 +1664,7 @@ lo_import 152801 - \p + \p or \print Print the current query buffer to the standard output. @@ -2060,7 +2061,7 @@ lo_import 152801 - \r + \r or \reset Resets (clears) the query buffer. @@ -2160,12 +2161,12 @@ lo_import 152801 - \w filename - \w |command + \w or \write filename + \w or \write |command Outputs the current query buffer to the file filename or pipes it to the Unix + class="parameter">filename or pipes it to the shell command command. @@ -2206,7 +2207,7 @@ lo_import 152801 \! [ command ] - Escapes to a separate Unix shell or executes the Unix command + Escapes to a separate shell or executes the shell command command. The arguments are not further interpreted; the shell will see them as-is.