mirror of
https://github.com/postgres/postgres.git
synced 2025-04-29 13:56:47 +03:00
Add a note warning that COPY BINARY is very datatype-specific.
Per a complaint from Gordon Shannon.
This commit is contained in:
parent
e3b3878a08
commit
a2367f89ff
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.86 2009/07/25 00:07:10 adunstan Exp $
|
$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.87 2009/09/05 23:58:01 tgl Exp $
|
||||||
PostgreSQL documentation
|
PostgreSQL documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -300,6 +300,10 @@ COPY <replaceable class="parameter">count</replaceable>
|
|||||||
somewhat faster than the normal text mode, but a binary-format
|
somewhat faster than the normal text mode, but a binary-format
|
||||||
file is less portable across machine architectures and
|
file is less portable across machine architectures and
|
||||||
<productname>PostgreSQL</productname> versions.
|
<productname>PostgreSQL</productname> versions.
|
||||||
|
Also, the binary format is very data type specific; for example
|
||||||
|
it will not work to output binary data from a <type>smallint</> column
|
||||||
|
and read it into an <type>integer</> column, even though that would work
|
||||||
|
fine in text format.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user