postgres.git / summary / log / commit / refs
commit ce36ecda518397122045e1a0953c465446b19d47
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sat Aug 11 17:51:22 2012 +0000
First released in: 9.3.0, 9.2.0
Add link from COPY ref page to psql \copy.
Jeff Janes
doc/src/sgml/ref/copy.sgml | 2 +-
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 1beac9a1b7e..97317c3630f 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 }
[parent: ca07d7ebe04d]