Re: [HACKERS] If subscription to foreign table valid ? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] If subscription to foreign table valid ?
Date
Msg-id 831efb82-7a14-2b67-ee30-739d94adcc5d@2ndquadrant.com
Whole thread Raw
In response to Re: [HACKERS] If subscription to foreign table valid ?  (Neha Khatri <nehakhatri5@gmail.com>)
List pgsql-hackers
On 5/14/17 23:55, Neha Khatri wrote:
> With this patch the error will be like this:
> 
>   logical replication target relation public.t is not a table
> 
> But it is possible that the referred table is Foreign Table of
> Partitioned table (so actually the referred object is indeed a table).
> Would it make sense to specify in the message that the table is not a
> normal table or something in that line? 

This is how we phrase the message in other places where we check the
relkind.  We should keep that consistent.

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



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] If subscription to foreign table valid ?
Next
From: Ashutosh Bapat
Date:
Subject: Re: [HACKERS] [POC] hash partitioning