On Fri, Mar 31, 2017 at 1:37 PM, Amit Langote
<langote_amit...@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.
-- 
Michael

Attachment: pgfdw-partitions-v2.patch
Description: Binary data

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to