Re: Logical replication and inheritance

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>, Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Logical replication and inheritance
Date: 2017-04-20 18:22:31
Message-ID: 393fc88b-72d7-2422-f0dc-7aa783801ec9@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 4/18/17 01:58, Amit Langote wrote:
> We could be more explicit here and say the following instead:
>
> create publication mypub for table p;
> ERROR: "p" is a partitioned table
> DETAIL: Adding partitioned tables to publications is not supported.
>
> Thoughts? (a patch is attached for consideration)

Committed. I added an errhint, moved the tests around a bit to match
the existing structure, and added some documentation.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Petr Jelinek 2017-04-20 18:29:42 Re: tablesync patch broke the assumption that logical rep depends on?
Previous Message Jeff Janes 2017-04-20 18:05:40 Re: AGG_HASHED cost estimate