Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc7d7c15

Browse files
committed
Document the fact that COPY always uses the client encoding.
1 parent97e3a6e commitc7d7c15

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

‎doc/src/sgml/ref/copy.sgml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.80 2007/04/18 02:28:22 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/ref/copy.sgml,v 1.81 2008/01/16 22:07:04 adunstan Exp $
33
PostgreSQL documentation
44
-->
55

@@ -353,6 +353,13 @@ COPY <replaceable class="parameter">count</replaceable>
353353
using <command>COPY TO</>.
354354
</para>
355355

356+
<para>
357+
Input data is interpreted according to the current client encoding,
358+
and output data is encoded in the the current client encoding, even
359+
if the data does not pass through the client but is read from or
360+
written to a file.
361+
</para>
362+
356363
<para>
357364
<command>COPY</command> stops operation at the first error. This
358365
should not lead to problems in the event of a <command>COPY
@@ -363,6 +370,7 @@ COPY <replaceable class="parameter">count</replaceable>
363370
happened well into a large copy operation. You might wish to invoke
364371
<command>VACUUM</command> to recover the wasted space.
365372
</para>
373+
366374
</refsect1>
367375

368376
<refsect1>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp