Re: [Proposal] Allow pg_dump to include all child tables with the root table - Mailing list pgsql-hackers

From Gilles Darold
Subject Re: [Proposal] Allow pg_dump to include all child tables with the root table
Date
Msg-id 41fcdf91-9b07-2944-496f-de4d9eb49835@migops.com
Whole thread Raw
In response to Re: [Proposal] Allow pg_dump to include all child tables with the root table  (Gilles Darold <gilles@migops.com>)
Responses Re: [Proposal] Allow pg_dump to include all child tables with the root table  (Stéphane Tachoires <stephane.tachoires@gmail.com>)
List pgsql-hackers
Le 11/03/2023 à 19:51, Gilles Darold a écrit :
> Le 04/03/2023 à 20:18, Tom Lane a écrit :
>> As noted, "childs" is bad English and "partitions" is flat out wrong
>> (unless you change it to recurse only to partitions, which doesn't
>> seem like a better definition).  We could go with
>> --[exclude-]table-and-children, or maybe
>> --[exclude-]table-and-child-tables, but those are getting into
>> carpal-tunnel-syndrome-inducing territory 🙁.  I lack a better
>> naming suggestion offhand.
>
>
> In attachment is version 3 of the patch, it includes the use of 
> options suggested by Stephane and Tom:
>
>     --table-and-children,
>
>     --exclude-table-and-children
>
>     --exclude-table-data-and-children.
>
>  Documentation have been updated too.
>
>
> Thanks
>

New version v4 of the patch attached with a typo in documentation fixed.

-- 
Gilles Darold.

Attachment

pgsql-hackers by date:

Previous
From: Ankit Kumar Pandey
Date:
Subject: Re: [PoC] Implementation of distinct in Window Aggregates
Next
From: Peter Eisentraut
Date:
Subject: Re: Add LZ4 compression in pg_dump