mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Minor copy-editing.
This commit is contained in:
parent
f038e08929
commit
444af9e0e8
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$Header: /cvsroot/pgsql/doc/src/sgml/ref/copy.sgml,v 1.51 2003/09/22 00:16:57 petere Exp $
|
$Header: /cvsroot/pgsql/doc/src/sgml/ref/copy.sgml,v 1.52 2003/09/30 01:56:11 tgl Exp $
|
||||||
PostgreSQL documentation
|
PostgreSQL documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ COPY <replaceable class="parameter">tablename</replaceable> [ ( <replaceable cla
|
|||||||
<term><replaceable class="parameter">tablename</replaceable></term>
|
<term><replaceable class="parameter">tablename</replaceable></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The name (possibly schema-qualified) of an existing table.
|
The name (optionally schema-qualified) of an existing table.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@ -355,10 +355,16 @@ COPY <replaceable class="parameter">tablename</replaceable> [ ( <replaceable cla
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
<command>COPY TO</command> will terminate each row with a Unix-style
|
<command>COPY TO</command> will terminate each row with a Unix-style
|
||||||
newline (<quote><literal>\n</></>), or carriage return/newline
|
newline (<quote><literal>\n</></>). Servers running on MS Windows instead
|
||||||
("\r\n") for servers running MS Windows.
|
output carriage return/newline (<quote><literal>\r\n</></>), but only for
|
||||||
|
<command>COPY</> to a server file; for consistency across platforms,
|
||||||
|
<command>COPY TO STDOUT</> always sends <quote><literal>\n</></>
|
||||||
|
regardless of server platform.
|
||||||
<command>COPY FROM</command> can handle lines ending with newlines,
|
<command>COPY FROM</command> can handle lines ending with newlines,
|
||||||
carriage returns, or carriage return/newlines.
|
carriage returns, or carriage return/newlines. To reduce the risk of
|
||||||
|
error due to un-backslashed newlines or carriage returns that were
|
||||||
|
meant as data, <command>COPY FROM</command> will complain if the line
|
||||||
|
endings in the input are not all alike.
|
||||||
</para>
|
</para>
|
||||||
</refsect2>
|
</refsect2>
|
||||||
|
|
||||||
@ -476,9 +482,9 @@ to be specified.
|
|||||||
To determine the appropriate binary format for the actual tuple data you
|
To determine the appropriate binary format for the actual tuple data you
|
||||||
should consult the <productname>PostgreSQL</productname> source, in
|
should consult the <productname>PostgreSQL</productname> source, in
|
||||||
particular the <function>*send</> and <function>*recv</> functions for
|
particular the <function>*send</> and <function>*recv</> functions for
|
||||||
the data type (typically found in the <filename>src/backend/utils/adt</filename>
|
each column's data type (typically these functions are found in the
|
||||||
directory). The <application>contrib/binarycopy</application> module
|
<filename>src/backend/utils/adt/</filename> directory of the source
|
||||||
can also be used to create an appropriate format file.
|
distribution).
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user