Re: error message when subscription target is a partitioned table - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: error message when subscription target is a partitioned table
Date
Msg-id CABUevEwtXeV9WM0AyE6c1Yr79L2OMGrFMv79DWiLtQ7TXqZabQ@mail.gmail.com
Whole thread Raw
In response to Re: error message when subscription target is a partitioned table  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Responses Re: error message when subscription target is a partitioned table
List pgsql-hackers

On Mon, Dec 3, 2018 at 7:39 AM Tatsuo Ishii <ishii@sraoss.co.jp> wrote:
> Hi,
>
> Could we improve the error message that's output when the subscription
> target relation is a partitioned table?  Currently, we get:
>
> ERROR:  logical replication target relation "public.foo" is not a table
>
> I think it'd be more helpful to get:
>
> ERROR: "public.foo" is a partitioned table
> DETAIL: Partitioned tables are not supported as logical replication targets
>
> Thoughts?

+1

+1 as well. That is definitely confusing -- to most people, that is still a table... 


--

pgsql-hackers by date:

Previous
From: Fabien COELHO
Date:
Subject: Re: doc - improve description of default privileges
Next
From: Alexander Lakhin
Date:
Subject: Re: make installcheck-world in a clean environment