Re: Subscriber to Get Only Some of The Tables From Publisher - Mailing list pgsql-general

From Simon Riggs
Subject Re: Subscriber to Get Only Some of The Tables From Publisher
Date
Msg-id CANbhV-Et0z=o_0NXcJVLmH9gUzJrvW5_yj9Z-MpxiD=+-Wh+cQ@mail.gmail.com
Whole thread Raw
In response to Subscriber to Get Only Some of The Tables From Publisher  (Avi Weinberg <AviW@gilat.com>)
List pgsql-general
On Thu, 9 Sept 2021 at 06:54, Avi Weinberg <AviW@gilat.com> wrote:

> I have a publisher with around 30 tables.  I have two types of subscribers.  Both types needs 25 "common" tables from
thepublisher plus 2-3 specific tables for each type of subscriber.
 
>
> For maintenance and monitoring reasons it is better for me to have both subscribers point to the same publisher but
"skip/ignore"2-3 tables that are not needed for them.  If this is not possible, I will be forced to create 2
publishers.
>
> Any idea hot to ignore tables from publisher?

That's not the way the APIs are defined.

Creating 2 publications should not be a problem.

Specifying the metadata for your situation would be about the same
complexity in all cases.

-- 
Simon Riggs                http://www.EnterpriseDB.com/



pgsql-general by date:

Previous
From: Ian Lawrence Barwick
Date:
Subject: Re: ALTER DATABASE SET not working as expected?
Next
From: Tim Uckun
Date:
Subject: Re: ALTER DATABASE SET not working as expected?