pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rory Campbell-Lange <rory@campbell-lange.net>
To: Robert Blayzor <rblayzor.bulk@inoc.net>
Cc: pgsql-performance@postgresql.org
Subject: Re: PgSQL 14 - Logical Rep - Single table multiple publications?
Date: Tue, 2 Aug 2022 20:18:16 +0100
Message-ID: <Yul4eKzx++b9YJV7@campbell-lange.net> (raw)
In-Reply-To: <8bd0f6cd-cbfc-2033-431c-d4ac613c1878@inoc.net>
References: <3d5996ac-a181-21a5-62a0-1cd34e6b3f1a@inoc.net>
	<Yuk7YwXqd2ETishS@campbell-lange.net>
	<8bd0f6cd-cbfc-2033-431c-d4ac613c1878@inoc.net>

On 02/08/22, Robert Blayzor (rblayzor.bulk@inoc.net) wrote:
> On 8/2/22 10:57, Rory Campbell-Lange wrote:
> > Special care must be taken with the "replica identity" of published
> > tables, as set out at
> > https://www.postgresql.org/docs/current/logical-replication-publication.html.
> 
> We would literally just be merging bulk data rows that are considered
> immutable, meaning they would never be updated or deleted. We would
> replicate only inserts, not deletes, updates, etc.
> 
> Would the table identifier still be required in this case?

On the page referenced above is the following:

"INSERT operations can proceed regardless of any replica identity."

So you should be good.

Rory





view thread (4+ messages)

Message-ID: <Yul4eKzx++b9YJV7@campbell-lange.net>
Permalink:  ../Yul4eKzx++b9YJV7@campbell-lange.net/
Also on:    postgresql.org/message-id/Yul4eKzx++b9YJV7@campbell-lange.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: rory@campbell-lange.net, rblayzor.bulk@inoc.net
  Subject: Re: PgSQL 14 - Logical Rep - Single table multiple publications?
  In-Reply-To: <Yul4eKzx++b9YJV7@campbell-lange.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox