mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Add link from COPY ref page to psql \copy.
Jeff Janes
This commit is contained in:
parent
ca07d7ebe0
commit
ce36ecda51
@ -353,7 +353,7 @@ COPY <replaceable class="parameter">count</replaceable>
|
|||||||
<para>
|
<para>
|
||||||
Do not confuse <command>COPY</command> with the
|
Do not confuse <command>COPY</command> with the
|
||||||
<application>psql</application> instruction
|
<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
|
<command>COPY FROM STDIN</command> or <command>COPY TO
|
||||||
STDOUT</command>, and then fetches/stores the data in a file
|
STDOUT</command>, and then fetches/stores the data in a file
|
||||||
accessible to the <application>psql</application> client. Thus,
|
accessible to the <application>psql</application> client. Thus,
|
||||||
|
@ -826,7 +826,7 @@ testdb=>
|
|||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</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> ) }
|
<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> }
|
{ <literal>from</literal> | <literal>to</literal> }
|
||||||
{ <replaceable class="parameter">filename</replaceable> | stdin | stdout | pstdin | pstdout }
|
{ <replaceable class="parameter">filename</replaceable> | stdin | stdout | pstdin | pstdout }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user