aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2012-08-30 13:17:21 -0400
committerRobert Haas <rhaas@postgresql.org>2012-08-30 13:18:23 -0400
commitb9ea8d20fde981997425ba72de7aa23e319e753e (patch)
treec3b131bbdc1eed5e9e541ba66a21389b21cdfe04
parent48a9c7823e032fde54cb0658fbd488809a3fdc69 (diff)
downloadpostgresql-b9ea8d20fde981997425ba72de7aa23e319e753e.tar.gz
postgresql-b9ea8d20fde981997425ba72de7aa23e319e753e.zip
Document that COPY OUT requires an absolute pathname.
As suggested by Etsuro Fujita, but with somewhat different wording.
-rw-r--r--doc/src/sgml/ref/copy.sgml7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/src/sgml/ref/copy.sgml b/doc/src/sgml/ref/copy.sgml
index e5f45f4a8af..b2a6dd797ce 100644
--- a/doc/src/sgml/ref/copy.sgml
+++ b/doc/src/sgml/ref/copy.sgml
@@ -116,9 +116,10 @@ COPY { <replaceable class="parameter">table_name</replaceable> [ ( <replaceable
<term><replaceable class="parameter">filename</replaceable></term>
<listitem>
<para>
- The absolute path name of the input or output file. Windows users
- might need to use an <literal>E''</> string and double any backslashes
- used in the path name.
+ The path name of the input or output file. An input filename can be
+ an absolute or relative path, but an output filename must be an absolute
+ path. Windows users might need to use an <literal>E''</> string and
+ double any backslashes used in the path name.
</para>
</listitem>
</varlistentry>