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

From Tatsuo Ishii
Subject Re: error message when subscription target is a partitioned table
Date
Msg-id 20181203.153925.2217790044617458178.t-ishii@sraoss.co.jp
Whole thread Raw
In response to error message when subscription target is a partitioned table  (Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>)
Responses Re: error message when subscription target is a partitioned table  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
> 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.
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp


pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: error message when subscription target is a partitioned table
Next
From: Michael Paquier
Date:
Subject: Re: pgsql: Avoid duplicate XIDs at recovery when building initialsnapshot