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

From Amit Langote
Subject error message when subscription target is a partitioned table
Date
Msg-id 41799bee-40eb-7bb5-80b1-325ce17518bc@lab.ntt.co.jp
Whole thread Raw
Responses Re: error message when subscription target is a partitioned table  (Tatsuo Ishii <ishii@sraoss.co.jp>)
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?

Thanks,
Amit



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: WIP: Avoid creation of the free space map for small tables
Next
From: Tatsuo Ishii
Date:
Subject: Re: error message when subscription target is a partitioned table