]> granicus.if.org Git - postgresql/commitdiff
Document that COPY OUT requires an absolute pathname.
authorRobert Haas <rhaas@postgresql.org>
Thu, 30 Aug 2012 17:17:21 +0000 (13:17 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 30 Aug 2012 17:18:23 +0000 (13:18 -0400)
As suggested by Etsuro Fujita, but with somewhat different wording.

doc/src/sgml/ref/copy.sgml

index e5f45f4a8af2e335a98c4de34b85cd43e829809a..b2a6dd797ceef2e6467144d38f97e167b747a751 100644 (file)
@@ -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>