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 1sYnvg-00EBSP-Ft for pgsql-general@arkaria.postgresql.org; Tue, 30 Jul 2024 14:34:20 +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 1sYnve-00Agl1-BQ for pgsql-general@arkaria.postgresql.org; Tue, 30 Jul 2024 14:34:18 +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 1sYnve-00Agkt-0H for pgsql-general@lists.postgresql.org; Tue, 30 Jul 2024 14:34:18 +0000 Received: from mail-oi1-x233.google.com ([2607:f8b0:4864:20::233]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sYnvb-002Dvp-B5 for pgsql-general@lists.postgresql.org; Tue, 30 Jul 2024 14:34:16 +0000 Received: by mail-oi1-x233.google.com with SMTP id 5614622812f47-3db1d4dab7fso2828314b6e.1 for ; Tue, 30 Jul 2024 07:34:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722350054; x=1722954854; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=AGRceY6diUE5zdH17H5Z1UD7qGVjMOn0bwWAWHWZRM8=; b=RwX2vOz55efox9OmnmRYaDouwkVNm8Dv7Q+LodDoVbcPLpJxD2a6yf+KUnaRKw1Q7M RjuB0Tuhp3WFd1B/SpwTbU/6PpELkNScI4OsPBjnnF4xtebfDNssIRQec2Q6Ux64AXlm 5DfPaWt+HzyrBJJ0BvMyPAC+0QWbM+IBpnqp7qs42ojmPdOVbyKuIlNKJvGdMt5sAQqQ GfNov66FYOhNKJjC5B0B+N7uUs+T2bTXh9jEE7G5R2OImeFg1ZXzH1W9kR3FP1qT3L2h WEPlIEYc/wluaSYBKjEHSj9MLGnS9KRsztYZgdMEwktJABjdlysWkDXHUwMX/8SjA4Yv Cdlg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722350054; x=1722954854; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AGRceY6diUE5zdH17H5Z1UD7qGVjMOn0bwWAWHWZRM8=; b=MUlCjTk2qLQfpeJTgz0N8Ls5RqO/wjSj5OUuLMrKn5sawB9PJ9JG6GaB8vnO1AnmgG OTd2xONi38hbyylCk2+c8nDiTeqzAcJWACtVVrGyWsk5M/C9Qx4+mKEelxoRud56JV8R S0Lo39KrR9t30VTzwRihnRHNJ5aA0WhFnAwX7DxJlR6C9wp+5BqiSY5P8BPLJt0LDamx WC/WtYVS0hQYiOyBFkkBXE7ZVwhVbr0eqp6DV4UbSjuVIbOmMVnfgy4EZNa3RkgnUEY2 MV00nb94oodZ3kZVhSfAXQigd9Tv/PxBqNSl39ikBEiceDnHLwnKH3lSIGucLjEsl0qt 05qQ== X-Gm-Message-State: AOJu0Yw/MblwrFMuGrqsSuTSiDonHgt17ORqjMBF6eTN/UBjNPtVceLm Z+igeVjP+eNXJmvnw1SF1WdbNYa+EAiHPRudiPribK/eA/4tCgsTEtBsSgXcka51SDOzuHsKGMR hkIdZ9SKk7MRHMwjJp7wFV8J84eQ= X-Google-Smtp-Source: AGHT+IHXW5cgNEec3k5pQHxUFo+vcGR1e5302c4p/b19OR1ZyPDvnpwebEo0ofKxERSg278dL4e0SUk2IHbJDWBYNa4= X-Received: by 2002:a05:6808:1410:b0:3db:3b15:7e7f with SMTP id 5614622812f47-3db3b158032mr6270225b6e.46.1722350054176; Tue, 30 Jul 2024 07:34:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "David G. Johnston" Date: Tue, 30 Jul 2024 07:33:37 -0700 Message-ID: Subject: Re: Understanding conflicts on publications and subscriptions To: Koen De Groote Cc: PostgreSQL General Content-Type: multipart/alternative; boundary="000000000000287d4a061e77df1c" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000287d4a061e77df1c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jul 30, 2024 at 7:16=E2=80=AFAM Koen De Groote = wrote: > And if my understanding is correct: if a table doesn't have a replica > identity, any UPDATE or DELETE statement that happens on the publisher, f= or > that table, will be refused. > > That is how I read the sentence "Otherwise those operations will be disallowed on those tables." Upon adding said table to a publication, future attempts to run updates and deletes will result in failures in the transactions performing said DML. Feel free to experiment that the behavior indeed matches the wording in the documentation. David J. --000000000000287d4a061e77df1c Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Jul 30, 2024 at 7:16=E2=80=AFAM Koen De Groote <= ;kdg.dev@gmail.com> wrote:
=C2=A0And if my understanding is = correct: if a table doesn't have a replica identity, any UPDATE or DELE= TE statement that happens on the publisher, for that table, will be refused= .


That is how = I read the sentence "Otherwise those operations will be disallowed on = those tables."

Upon adding said table to a public= ation, future attempts to run updates and deletes will result in failures i= n the transactions performing said DML.

Feel free to e= xperiment that the behavior indeed matches the wording in the documentation= .

David J.

--000000000000287d4a061e77df1c--