pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Don Seiler <don@seiler.us>
Cc: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Dupe Key Violations in Logical Replication with PKs in Place
Date: Tue, 14 Nov 2023 09:15:03 -0700
Message-ID: <EE079868-C5F8-48C2-8F79-10923D57B480@elevated-dev.com> (raw)
In-Reply-To: <CAHJZqBD3z8eFG=Hit2NGcvAr6Gvv_y2i42BYDxi4wpONJ0D-zw@mail.gmail.com>
References: <CAHJZqBC_mnKAH_vwep8cmVqyLhnj1CN+tc36kt73VBXpK_Etsg@mail.gmail.com>
	<401c360a-ff4c-4904-8608-22b24b2179d6@gmail.com>
	<5181C120-C6B2-4186-BB67-2B22660D5A7B@elevated-dev.com>
	<CAHJZqBD3z8eFG=Hit2NGcvAr6Gvv_y2i42BYDxi4wpONJ0D-zw@mail.gmail.com>

> On Nov 14, 2023, at 9:12 AM, Don Seiler <don@seiler.us> wrote:
> 
> That's precisely why I'm using logical replication for this migration. The indexes are new on the subscriber server. Re-indexing should only be necessary if I were to do physical replication/restore onto a 22.04 server, no?

As far as I know, you are right about that--I missed the part where you said logical replication onto new clusters.




view thread (11+ messages)  latest in thread

Message-ID: <EE079868-C5F8-48C2-8F79-10923D57B480@elevated-dev.com>
Permalink:  ../EE079868-C5F8-48C2-8F79-10923D57B480@elevated-dev.com/
Also on:    postgresql.org/message-id/EE079868-C5F8-48C2-8F79-10923D57B480@elevated-dev.com

 · 

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-admin@postgresql.org
  Cc: scott_ribe@elevated-dev.com, don@seiler.us, ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Dupe Key Violations in Logical Replication with PKs in Place
  In-Reply-To: <EE079868-C5F8-48C2-8F79-10923D57B480@elevated-dev.com>

* 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