diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-08-11 13:51:22 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-08-11 13:51:22 -0400 |
commit | 83af58f6b5657840f5924332fccecca1e3556abe (patch) | |
tree | 9402873663fc04d173d86dd4418e25b71b984669 /doc/src | |
parent | b53800355f9b3a4a4ee6e5e610accab77af8d1c3 (diff) | |
download | postgresql-83af58f6b5657840f5924332fccecca1e3556abe.tar.gz postgresql-83af58f6b5657840f5924332fccecca1e3556abe.zip |
Add link from COPY ref page to psql \copy.
Jeff Janes
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/copy.sgml | 2 | ||||
-rw-r--r-- | doc/src/sgml/ref/psql-ref.sgml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml index 4e4e834e062..e5f45f4a8af 100644 --- a/doc/src/sgml/ref/copy.sgml +++ b/doc/src/sgml/ref/copy.sgml @@ -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, diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 340328f4b56..ebb0ad4ecf3 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -826,7 +826,7 @@ testdb=> </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 } |