Re: postgres_fdw IMPORT SCHEMA and partitioned tables

Поиск
Список
Период
Сортировка
От Amit Langote
Тема Re: postgres_fdw IMPORT SCHEMA and partitioned tables
Дата
Msg-id 15303833-838d-079c-2fa2-c01e93771387@lab.ntt.co.jp
обсуждение исходный текст
Ответ на Re: postgres_fdw IMPORT SCHEMA and partitioned tables  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: postgres_fdw IMPORT SCHEMA and partitioned tables  (Robert Haas <robertmhaas@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Logical decoding on standby
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: WIP: [[Parallel] Shared] Hash