error message when subscription target is a partitioned table

From: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: error message when subscription target is a partitioned table
Date: 2018-12-03 06:34:36
Message-ID: 41799bee-40eb-7bb5-80b1-325ce17518bc@lab.ntt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2018-12-03 06:39:25 Re: error message when subscription target is a partitioned table
Previous Message Amit Kapila 2018-12-03 06:29:29 Re: WIP: Avoid creation of the free space map for small tables