| From: | Bruce Momjian <bruce(at)momjian(dot)us> | 
|---|---|
| To: | Justin Pryzby <pryzby(at)telsasoft(dot)com> | 
| Cc: | pgsql-hackers(at)lists(dot)postgresql(dot)org | 
| Subject: | Re: copy.sgml and partitioned tables | 
| Date: | 2020-12-16 00:20:59 | 
| Message-ID: | 20201216002059.GD14807@momjian.us | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
On Thu, Dec  3, 2020 at 03:17:23PM -0600, Justin Pryzby wrote:
> https://www.postgresql.org/docs/current/sql-copy.html
> |. COPY FROM can be used with plain, foreign, or partitioned tables or with views that have INSTEAD OF INSERT triggers.
> |. COPY only deals with the specific table named; IT DOES NOT COPY DATA TO OR FROM CHILD TABLES. ...
> 
> That language in commit 854b5eb51 was never updated since partitioning was
> added, so I propose this.
> 
> I'm not sure, but maybe it should still say that "COPY TO does not copy data to
> child tables of inheritance hierarchies."
I reworded it slightly, attached, and applied it back to PG 10, where we
added the partition syntax.
-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com
The usefulness of a cup is in its emptiness, Bruce Lee
| Attachment | Content-Type | Size | 
|---|---|---|
| master.diff | text/x-diff | 1.9 KB | 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2020-12-16 00:27:53 | Re: REINDEX backend filtering | 
| Previous Message | Bruce Momjian | 2020-12-16 00:12:28 | Re: Proposed patch for key managment |