597
597
determined at compile time.
598
598
Since the database server uses the same default, you will not have
599
599
to specify the port in most cases. The default user name is your
600
- Unix user name, as is the default database name. Note that you cannot
600
+ operating-system user name, as is the default database name.
601
+ Note that you cannot
601
602
just connect to any database under any user name. Your database
602
603
administrator should have informed you about your access rights.
603
604
</para>
@@ -1608,14 +1609,14 @@ Tue Oct 26 21:40:57 CEST 1999
1608
1609
1609
1610
1610
1611
<varlistentry>
1611
- <term><literal>\g</literal> [ { <replaceable class="parameter">filename</replaceable> | <literal>|< /literal><replaceable class="parameter">command</replaceable> } ] </term>
1612
-
1612
+ <term><literal>\g [ <replaceable class="parameter">filename</replaceable> ]< /literal></term>
1613
+ <term><literal>\g [ |<replaceable class="parameter">command</replaceable> ]</literal></term>
1613
1614
<listitem>
1614
1615
<para>
1615
- Sends the current query input buffer to the server and
1616
+ Sends the current query input buffer to the server, and
1616
1617
optionally stores the query's output in <replaceable
1617
1618
class="parameter">filename</replaceable> or pipes the output
1618
- into a separate Unix shell executing <replaceable
1619
+ to the shell command <replaceable
1619
1620
class="parameter">command</replaceable>. A bare
1620
1621
<literal>\g</literal> is virtually equivalent to a semicolon. A
1621
1622
<literal>\g</literal> with argument is a <quote>one-shot</quote>
@@ -1649,7 +1650,7 @@ Tue Oct 26 21:40:57 CEST 1999
1649
1650
1650
1651
1651
1652
<varlistentry>
1652
- <term><literal>\H</literal></term>
1653
+ <term><literal>\H</literal> or <literal>\html</literal> </term>
1653
1654
<listitem>
1654
1655
<para>
1655
1656
Turns on <acronym>HTML</acronym> query output format. If the
@@ -1663,7 +1664,7 @@ Tue Oct 26 21:40:57 CEST 1999
1663
1664
1664
1665
1665
1666
<varlistentry>
1666
- <term><literal>\i < replaceable class="parameter">filename</replaceable></literal ></term>
1667
+ <term><literal>\i</literal> or <literal>\include</literal> < replaceable class="parameter">filename</replaceable></term>
1667
1668
<listitem>
1668
1669
<para>
1669
1670
Reads input from the file <replaceable
@@ -1682,7 +1683,7 @@ Tue Oct 26 21:40:57 CEST 1999
1682
1683
1683
1684
1684
1685
<varlistentry>
1685
- <term><literal>\ir < replaceable class="parameter">filename</replaceable></literal ></term>
1686
+ <term><literal>\ir</literal> or <literal>\include_relative</literal> < replaceable class="parameter">filename</replaceable></term>
1686
1687
<listitem>
1687
1688
<para>
1688
1689
The <literal>\ir</> command is similar to <literal>\i</>, but resolves
@@ -1797,15 +1798,15 @@ lo_import 152801
1797
1798
1798
1799
1799
1800
<varlistentry>
1800
- <term><literal>\o</literal> [ { <replaceable class="parameter">filename</replaceable> | <literal>|< /literal><replaceable class="parameter">command</replaceable>} ] </term>
1801
-
1801
+ <term><literal>\o</literal> or <literal>\out [ <replaceable class="parameter">filename</replaceable> ]< /literal></term>
1802
+ <term><literal>\o</literal> or <literal>\out [ |<replaceable class="parameter">command</replaceable> ]</literal></term>
1802
1803
<listitem>
1803
1804
<para>
1804
- Saves future query results to the file <replaceable
1805
- class="parameter">filename</replaceable> or pipes future results
1806
- into a separate Unix shell to execute <replaceable
1807
- class="parameter">command</replaceable>. If no arguments are
1808
- specified, the query output will be reset to the standard output.
1805
+ Arranges to save future query results to the file <replaceable
1806
+ class="parameter">filename</replaceable> or pipe future results
1807
+ to the shell command <replaceable
1808
+ class="parameter">command</replaceable>. If no argument is
1809
+ specified, the query output is reset to the standard output.
1809
1810
</para>
1810
1811
1811
1812
<para><quote>Query results</quote> includes all tables, command
@@ -1826,7 +1827,7 @@ lo_import 152801
1826
1827
1827
1828
1828
1829
<varlistentry>
1829
- <term><literal>\p</literal></term>
1830
+ <term><literal>\p</literal> or <literal>\print</literal> </term>
1830
1831
<listitem>
1831
1832
<para>
1832
1833
Print the current query buffer to the standard output.
@@ -2243,7 +2244,7 @@ lo_import 152801
2243
2244
2244
2245
2245
2246
<varlistentry>
2246
- <term><literal>\r</literal></term>
2247
+ <term><literal>\r</literal> or <literal>\reset</literal> </term>
2247
2248
<listitem>
2248
2249
<para>
2249
2250
Resets (clears) the query buffer.
@@ -2403,12 +2404,12 @@ testdb=> <userinput>\setenv LESS -imx4F</userinput>
2403
2404
2404
2405
2405
2406
<varlistentry>
2406
- <term><literal>\w</literal> <replaceable class="parameter">filename</replaceable></term>
2407
- <term><literal>\w</literal> <literal>|</><replaceable class="parameter">command</replaceable></term>
2407
+ <term><literal>\w</literal> or <literal>\write</literal> <replaceable class="parameter">filename</replaceable></term>
2408
+ <term><literal>\w</literal> or <literal>\write</literal> <literal>|</><replaceable class="parameter">command</replaceable></term>
2408
2409
<listitem>
2409
2410
<para>
2410
2411
Outputs the current query buffer to the file <replaceable
2411
- class="parameter">filename</replaceable> or pipes it to the Unix
2412
+ class="parameter">filename</replaceable> or pipes it to the shell
2412
2413
command <replaceable class="parameter">command</replaceable>.
2413
2414
</para>
2414
2415
</listitem>
@@ -2449,7 +2450,7 @@ testdb=> <userinput>\setenv LESS -imx4F</userinput>
2449
2450
<term><literal>\! [ <replaceable class="parameter">command</replaceable> ]</literal></term>
2450
2451
<listitem>
2451
2452
<para>
2452
- Escapes to a separate Unix shell or executes the Unix command
2453
+ Escapes to a separate shell or executes the shell command
2453
2454
<replaceable class="parameter">command</replaceable>. The
2454
2455
arguments are not further interpreted; the shell will see them
2455
2456
as-is.
0 commit comments