[prev in list] [next in list] [prev in thread] [next in thread]
List: postgresql-general
Subject: Re: [HACKERS] COPY is not working
From: Tom Lane <tgl () sss ! pgh ! pa ! us>
Date: 2010-04-30 19:50:03
Message-ID: 14785.1272657003 () sss ! pgh ! pa ! us
[Download RAW message or body]
Jaime Casanova <jcasanov@systemguards.com.ec> writes:
> COPY is not working on latest HEAD?
I've added this to the COPY notes section:
<para>
<command>COPY</command> only deals with the specific table named;
it does not copy data to or from child tables. Thus for example
<literal>COPY <replaceable class="parameter">table</> TO</literal>
shows the same data as <literal>SELECT * FROM ONLY <replaceable
class="parameter">table</></literal>. But <literal>COPY
(SELECT * FROM <replaceable class="parameter">table</>) TO ...</literal>
can be used to dump all of the data in an inheritance hierarchy.
</para>
regards, tom lane
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic