Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r2vz7-001S89-NC for pgsql-admin@arkaria.postgresql.org; Tue, 14 Nov 2023 16:09:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1r2vz5-008tRm-Pg for pgsql-admin@arkaria.postgresql.org; Tue, 14 Nov 2023 16:09:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r2vz5-008tRd-AX for pgsql-admin@lists.postgresql.org; Tue, 14 Nov 2023 16:09:51 +0000 Received: from mailout.easywhatthehell.com ([2620:49:8:1007::400] helo=mailout.easymail.ca) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1r2vz1-005YeE-Qh for pgsql-admin@lists.postgresql.org; Tue, 14 Nov 2023 16:09:49 +0000 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id A4373E461E; Tue, 14 Nov 2023 16:09:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1699978179; bh=y9EhzxFKWxf/woEJ7H7Y6OHBiG9oYW+NEVYkIz2ok7s=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=fMlc6UUWKPCY1GG8oNH/N1XOikrTrS80tAxNy/SkpsJI0tkXct6L0k2flaDSBrkxV 7JYSsv+Jb7OuwJpmXicVVsqfGJq/2ErZ5Gz1vfuLNDAIC+pqWxSG3RRBYEPWurtWjJ mJCu5M0KIiO2xPwDl34CABei0hDs2GOIEGpOmOrA/OynSnkwzEKpg9otCkVsgs1bUL QLPpkajBXnBA2yJ82sbGvJ9ASdUW22I1NS5OBhg/v5h6gIg6QLtq8yQy4HW7jVXxiT WKzCsvgxYBKAWJICmXYcWGYK24+rVawo5oZsk1ZYCV41y1m786IwlTgbu34se3Aw6z XhXaeateoUigQ== X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DBQwhPTiRkq7; Tue, 14 Nov 2023 16:09:39 +0000 (UTC) Received: from smtpclient.apple (unknown [165.140.184.195]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 13FB8E45E0; Tue, 14 Nov 2023 16:09:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=elevated-dev.com; s=easymail; t=1699978179; bh=y9EhzxFKWxf/woEJ7H7Y6OHBiG9oYW+NEVYkIz2ok7s=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=fMlc6UUWKPCY1GG8oNH/N1XOikrTrS80tAxNy/SkpsJI0tkXct6L0k2flaDSBrkxV 7JYSsv+Jb7OuwJpmXicVVsqfGJq/2ErZ5Gz1vfuLNDAIC+pqWxSG3RRBYEPWurtWjJ mJCu5M0KIiO2xPwDl34CABei0hDs2GOIEGpOmOrA/OynSnkwzEKpg9otCkVsgs1bUL QLPpkajBXnBA2yJ82sbGvJ9ASdUW22I1NS5OBhg/v5h6gIg6QLtq8yQy4HW7jVXxiT WKzCsvgxYBKAWJICmXYcWGYK24+rVawo5oZsk1ZYCV41y1m786IwlTgbu34se3Aw6z XhXaeateoUigQ== Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.200.91.1.1\)) Subject: Re: Dupe Key Violations in Logical Replication with PKs in Place From: Scott Ribe In-Reply-To: <401c360a-ff4c-4904-8608-22b24b2179d6@gmail.com> Date: Tue, 14 Nov 2023 09:09:28 -0700 Cc: pgsql-admin@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <5181C120-C6B2-4186-BB67-2B22660D5A7B@elevated-dev.com> References: <401c360a-ff4c-4904-8608-22b24b2179d6@gmail.com> To: Ron X-Mailer: Apple Mail (2.3774.200.91.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Nov 14, 2023, at 9:04=E2=80=AFAM, Ron = wrote: >=20 > What data type(s) in those columns, and what locale on each server? = Maybe the change from 18.04/12 to 22.04/15 has caused some weirdness = with "foreign" characters. Problems with the locale updates are not limited to non-ASCII = characters, sorting rules involving "-" changed, for instance. When you = make that OS upgrade, you really, really, need to reindex all text = types.=