diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 295196adfaf..85fe0ecb6ab 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -597,7 +597,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. @@ -1608,14 +1609,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 @@ -1649,7 +1650,7 @@ Tue Oct 26 21:40:57 CEST 1999 - \H + \H or \html Turns on HTML query output format. If the @@ -1663,7 +1664,7 @@ Tue Oct 26 21:40:57 CEST 1999 - \i filename + \i or \include filename Reads input from the file - \ir filename + \ir or \include_relative filename The \ir command is similar to \i, but resolves @@ -1797,15 +1798,15 @@ lo_import 152801 - \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. Query results includes all tables, command @@ -1826,7 +1827,7 @@ lo_import 152801 - \p + \p or \print Print the current query buffer to the standard output. @@ -2243,7 +2244,7 @@ lo_import 152801 - \r + \r or \reset Resets (clears) the query buffer. @@ -2403,12 +2404,12 @@ testdb=> \setenv LESS -imx4F - \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. @@ -2449,7 +2450,7 @@ testdb=> \setenv LESS -imx4F \! [ 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.