Re: postgres_fdw IMPORT SCHEMA and partitioned tables - Mailing list pgsql-hackers

From Amit Langote
Subject Re: postgres_fdw IMPORT SCHEMA and partitioned tables
Date
Msg-id 15303833-838d-079c-2fa2-c01e93771387@lab.ntt.co.jp
Whole thread Raw
In response to Re: postgres_fdw IMPORT SCHEMA and partitioned tables  (Michael Paquier <michael.paquier@gmail.com>)
Responses Re: postgres_fdw IMPORT SCHEMA and partitioned tables  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 2017/03/31 13:46, Michael Paquier wrote:
> On Fri, Mar 31, 2017 at 1:37 PM, Amit Langote
> <Langote_Amit_f8@lab.ntt.co.jp> wrote:
>> +   <para>
>> +    For partitioned tables, partitions are automatically excluded from the
>> +    schema data imported. Only the definition of partitioned tables is
>> included
>> +    to give access to the full data set of all partitions present remotely.
>> +   </para>
>> +
>>
>> Only the definitions of "root" partitioned tables, because when using
>> multi-level partitioning, there would be partitioned tables that won't be
>> included (because, relispartition=true).
>>
>> If you agree, then this code comment too could use the same terminology:
>>
>> +         * Ignore table data for partitions and only include the parent
>> +         * definitions to allow access to the complete remote data set
>> +         * locally in the schema imported.
>> +         *
> 
> That makes sense. Updated this way as I have my hands on it now.

Thanks, no more comments from my side.

Regards,
Amit





pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: Logical decoding on standby
Next
From: Thomas Munro
Date:
Subject: Re: WIP: [[Parallel] Shared] Hash