Add link from COPY ref page to psql \copy.

Jeff Janes
This commit is contained in:
Tom Lane 2012-08-11 13:51:22 -04:00
parent b53800355f
commit 83af58f6b5
2 changed files with 2 additions and 2 deletions

View File

@ -353,7 +353,7 @@ COPY <replaceable class="parameter">count</replaceable>
<para>
Do not confuse <command>COPY</command> with the
<application>psql</application> instruction
<command>\copy</command>. <command>\copy</command> invokes
<command><link linkend="APP-PSQL-meta-commands-copy">\copy</link></command>. <command>\copy</command> invokes
<command>COPY FROM STDIN</command> or <command>COPY TO
STDOUT</command>, and then fetches/stores the data in a file
accessible to the <application>psql</application> client. Thus,

View File

@ -826,7 +826,7 @@ testdb=&gt;
</listitem>
</varlistentry>
<varlistentry>
<varlistentry id="APP-PSQL-meta-commands-copy">
<term><literal>\copy { <replaceable class="parameter">table</replaceable> [ ( <replaceable class="parameter">column_list</replaceable> ) ] | ( <replaceable class="parameter">query</replaceable> ) }
{ <literal>from</literal> | <literal>to</literal> }
{ <replaceable class="parameter">filename</replaceable> | stdin | stdout | pstdin | pstdout }