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.96) (envelope-from ) id 1w4iRN-002U8e-0c for pgsql-bugs@arkaria.postgresql.org; Mon, 23 Mar 2026 16:47:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w4iRL-001TFN-1C for pgsql-bugs@arkaria.postgresql.org; Mon, 23 Mar 2026 16:47:43 +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.96) (envelope-from ) id 1w4iRL-001TFF-0O for pgsql-bugs@lists.postgresql.org; Mon, 23 Mar 2026 16:47:43 +0000 Received: from mail-ot1-x32b.google.com ([2607:f8b0:4864:20::32b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w4iRJ-00000000eed-3byX for pgsql-bugs@lists.postgresql.org; Mon, 23 Mar 2026 16:47:42 +0000 Received: by mail-ot1-x32b.google.com with SMTP id 46e09a7af769-7d7f92bde91so1590016a34.1 for ; Mon, 23 Mar 2026 09:47:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1774284461; cv=none; d=google.com; s=arc-20240605; b=cTEBvT3WZQquwVNSyVOPzBxXAiXBvs5kqkkXV2UagzQRYmDw6EJhfDo5BB3RWz9dCW AqHPwOOcmH02JVVqUFLcvCdjzU0wJ2JXDxL3AQsfDh88IVz7RmL/nBctvIy+CBviv1O1 c4WToFr5kESLSquryVeUSDt89yuIKAgqrIzrWeELTDh4c5tHKYrQVyKspMsjVsSer6Xd DmYdrMwegXOT9uMaRvYV6LqGcgpNiaaF+2w3vso1v2MQ95g0Jt4fOx71amctTFXXJRPw PsUjnfJHS7gn88yYcvgF3dgF3MAUO9toRG0oKGrqMF64nCXUORrcVAb83o02Uwxk6+wf MXSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=IeXFanEgpNAP+se5M8zDWzd1P9hJM8BWCt0eVmlSdfg=; fh=lGj/LHy2L8jRsRY1GSZEK/t79MBTluyqxDfcYqchuhc=; b=PRlwvuuTJQtXxLq1qgqwilqmyEF9dGHNX3+7M4r8wbPToWZuNBhrhEylvMClFbB+Kv PuDUQxFw2cAsVnSLBXy/RAtMVhDmjbDjqUjtSpVm3QmitAAh2PlX/VNR+If0hyEB96n3 vHxNegOkc/OrJq52lX8dxPaDIQu0pD+qVUOXfD+6rYOw3qW19EsNKXwIl2kJNmzAQH+x c79VKoXMvsAZOt3d9hF2Fr5qUCccOcNyje5vfe54PO7QR6Xt2eH1nNbrK3YZmGQ3IctO SbW8ZWiU+ATQhG6aAzBiegrfxK0Az42hy45rn2NzU91tCLYX7BCDNvvXySFK7iXyc0s8 MXsg==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1774284461; x=1774889261; darn=lists.postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=IeXFanEgpNAP+se5M8zDWzd1P9hJM8BWCt0eVmlSdfg=; b=MMRlvWqPolWdX0VPR9q5872no/acak/EWpzZ4IOErwAlT0q9O+ouuzFagc8gL609vM eZ222FVp8s33DvWLgPM2YnUixHvYLmPDMPCVBk5+LGtlXXyD/ySmwa3Z7ZyrkxpoT47X EQacXU72XitJn+xiTU4UQMplY0l6vcVkGartiT7qcaZ7JO6S1L5YlD1jLoqp2h/LJgXE 15akUlvRFQUA5TIFOBeX1C2ZoiUHr+P/GiQnZCpsHlTuk+euWJJl0ZZLz2kNKE2gb7Vj K8385tCMBza1Z08MRE8vMYwzWG+zjj2pxjCGHAZ0fOVOfboQgAGBBoyEnZF7vSSvMEeO VAYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1774284461; x=1774889261; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=IeXFanEgpNAP+se5M8zDWzd1P9hJM8BWCt0eVmlSdfg=; b=TuLoqdfqUA7YfO6FuQa627DUZvycSmqKr4eQP05S6uu1Bf/jSbpf8YJGHNEa3+liU0 /199ONwaJgqaaqdT70TBNFr+d9+9b5dzImlTDrNuOVPsLtBCTTaB3ClR1zx41nPo8Ts8 j2EWP7L9gfSLuumNInIpvPPLwgDSC6IC/uzmK0RZnMYxiXiupkj2vBbPU/yqy2HspCEi MxvB5VV8fGbXM4TgWmS6DyDc+8a1XQw5If2RJDjScJsMzloH95wpp242fEsvz3SV6Ikv gFLPDb5BKPDHXPmKRzWmzNMNhQcqLStNksSt3RnNv6q8Hx8LLaCHJEvWoZsbxg0C/JmG uQig== X-Forwarded-Encrypted: i=1; AJvYcCW31mjho4HtRNlfcTCYVjfM2pruLgCTyO6BrtNl+AVqV7FD36cCWIh/i7OXx6AvxZK6BNVXt2YrFl/U@lists.postgresql.org X-Gm-Message-State: AOJu0YyFDGZmJT2J+0yKccBv7lRyTJfa+fPRYP8/4O5aXhGwcwQ6/rta qeYj6CZxTS5Lay0F7WJCKVg3+cDA4wrUOB4qtumEyYPm2SciADN6YB13FdSTiEVBoDHzsn1fO8j ixC9Gn3NF2GwsST9yAy3iY6kAkCco8qY= X-Gm-Gg: ATEYQzzULg3664TeEInoh80QjO6DWPHaTItC4ElIJesY14P9ZdayQOyzLkvtVYGHw+J ldsXSx1JEdVGdCdo7VwzRS53ct3NHUuPtbm7kjdWoAQCNlNVptI6VtYE6fPhC1HIv6CBq2ZG9Mo 2ZMnTH2t3MpTQatDudPVfZDg8DuqGrV/qgLuC9vbLbkQl265fqKsav0yS+6KieKxt/k0Nak+Sok ug7D7nEClMoXiOL4SluXnBOGfSPo/THApv5ouuCbJB8sd0kcxXsX64bEn/rAWJIZrEH38Qlc+SX 21XYtztEnsEsySvzTjCOlzdXLKTFMVM456K3wJtt X-Received: by 2002:a05:6820:16a8:b0:662:fbd6:1849 with SMTP id 006d021491bc7-67c22bbaeb5mr9502362eaf.4.1774284461054; Mon, 23 Mar 2026 09:47:41 -0700 (PDT) MIME-Version: 1.0 References: <19434-297bf2cbd8d2931a@postgresql.org> In-Reply-To: <19434-297bf2cbd8d2931a@postgresql.org> From: Greg Sabino Mullane Date: Mon, 23 Mar 2026 12:47:06 -0400 X-Gm-Features: AQROBzCPYu3F7W4vwnUDRWCy2BHDR5ULhIEgV_PDIbAFI2KvSiYhlcMERTt7uHE Message-ID: Subject: Re: BUG #19434: adding WHERE to a publication can cause UPDATEs and DELETEs to fail on the source table To: tim@gotab.io, pgsql-bugs@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000081f6f064db3cb97" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000081f6f064db3cb97 Content-Type: text/plain; charset="UTF-8" I don't think this is really a bug, more of a feature request / optimization. However, I do agree this is an important one. I don't see offhand why we can't append the where list to our existing list of important columns. There would be a few downsides, but none that would be worse than going full replica identity or creating a new index. I'll see about making a proof of concept patch and throwing it on -hackers. Will cc you on that. Cheers, Greg --000000000000081f6f064db3cb97 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I don't think this is really a bug, more of a feature = request / optimization. However, I do agree this is an important one. I don= 't see offhand why we can't append the where list to our existing l= ist of important columns. There would be a few downsides, but none that wou= ld be worse than going full replica identity or creating a new index. I'= ;ll see about making a proof of concept patch and throwing it on -hackers. = Will cc you on that.

Cheers,
Greg
--000000000000081f6f064db3cb97--