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 1vl4KH-006Xdr-0k for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Jan 2026 12:07:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vl4KG-001AfK-15 for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Jan 2026 12:07:12 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vl4KF-001AfB-3B for pgsql-hackers@lists.postgresql.org; Wed, 28 Jan 2026 12:07:12 +0000 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vl4KD-00000000s9i-3vSa for pgsql-hackers@lists.postgresql.org; Wed, 28 Jan 2026 12:07:11 +0000 Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-34c27d14559so4160504a91.2 for ; Wed, 28 Jan 2026 04:07:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769602028; cv=none; d=google.com; s=arc-20240605; b=JpemJb+OxbX9pyejmtvVPyn0MCmSdGh68MkuFkM3EpnySfv03qeGMA0CHtUd78xpUw QluprThUCZJPDurHNVZMsmX4keozTcpAR8ytU7jD8ry3tPFXh37T8qGg9iljztrGrNXO sVBnCde1C5VbRovbNzlZwQfPWQD9rFdJ8NeRKfXuyf/GjDBvkqtQoOhxbvH1be3aFWCm GYYSrSgnlEjTFbqcyWmy11pt5g0XC44JrMQuMtovJpqUcQVldvXfGGDauk1kmeH0dtPA kb4ZVYYVkXU7aCIY8j0dxmg2FSIko6AghHdILCVZjG49016wHXCr9SGUHUCRRIrlk24r QYJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=7NBV72RRLEtA0J3E4cljgrukRAL5qg+v2oWLoZ2nIFI=; fh=66XH2/CAfMgGOIe4LWoZw+lMNXO8p3ouUTRO5q3bb+M=; b=egYCe/Ka394/bWghCyGyox4zvTBaVTbN3N0etuegNvEKhA/ziDA1sz6rELGKbOs7rD IjRZH33caF7XGinAE9H9dADTPqSD8jmNenLLu1c0mPqU5hdUM5q5rp1zvb3KjwiuhCg1 /o93C8M+im0XBWH93Eb/BpPDcygOh/GnUBpaRBlKAzpp9H9Pk7l4+hGl++1x/DNd008O sqXshI6C1RCew1aJ0ydAjzrg7s6kikLQKGX8FExVP+GQVsUJ3cZITNIlMVc9rwoUTJK7 88pwn4YTX7+nxSaMU7xvmeeWSbxUkQVmHtmk8XXi+v6k4wLFFKtHUIjwxc8ShyzXP92e Q7DA==; 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=1769602028; x=1770206828; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=7NBV72RRLEtA0J3E4cljgrukRAL5qg+v2oWLoZ2nIFI=; b=h+YtFKyt7N0CTQAGcknN8Tub04b/tqsiAen1hjkilEfB/ZTxM7oJza4U9Qh6bd3GHj 0hVi7eupyBA7SidbdvcN3iVX+oCjAuVo0i6wlR6JmJzvZSt/2tCIsmAllJ9ZrweoTHBL zg1BJzec8WOyUXnX7aisRLyKRzP/2wni06ZsGAt0txAvqrRvE0qryAkh/tq95uutgtrc IuDnOErLUHYpJ4Zy0iHA7f1Iqyzx4WccMO2Y3GkCAjCgaBfiYTTfoB4Z/IhKq+Cp17gZ PRVsFlcVFREP2NeBnC/++LFPgdsMg1Q9QNyOgPxjJZ/wTYPZDD6WtWHl884Y2zM5F9Uh ERBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769602028; x=1770206828; h=content-transfer-encoding:cc: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=7NBV72RRLEtA0J3E4cljgrukRAL5qg+v2oWLoZ2nIFI=; b=wrluBOg8fPZ3eVnIvT0f0TqbeonK481eJxTZweonmQa21ir99sBnOCaxjRsaiq6UAv PwmKED+BCd1y7NNKlwT9fsDxESJ7pXOOvUEM6gopBLYG3iaK3qoOwS/x/QVWL53rHt2h r4Rv0Qb08iFimQ223/TR/NoBWHy5uQXYRbFHFE3HvmbSydn7qddZfoQWPy3rYeHosRds FawztuJfk1BKR5argRQselKZndgYntQqiZz26vxmeAhP3hyZ+emvqcNK07t6cyXfnOAs zqQzec/wPbwQVfJg+iGPEPDeA2PqTPE46XKCd9/mztej0GthyVAhOFF+nOGK0LgKVmOq AhoQ== X-Forwarded-Encrypted: i=1; AJvYcCXCJwPMJb6+BOU5Meeai1m6hB7W8lTo0/6ZkoVnYuh36HeiYHjdw+BPwma40G/3ABC6RI7WIHgB5YDzhpnj@lists.postgresql.org X-Gm-Message-State: AOJu0YxJmbC7Z29iA0wIz4vjMggL0H39bUD5hY5vq7B0Eipqjli3JAA3 0Yk7Q3BFsSKKy2g+W8RV3GRVdh/tslbd147bfJQqjE872U44zvzNw/EfKzRtS3MBgzHwZcb1hFe cxJa+TnFJAODbifuMwURvx8qkS05haeM= X-Gm-Gg: AZuq6aJPIY15mM71og3KH7IgkacZtvPx8qs2PBI0NV8kmqtAisiW7Sqi4mv7qo4eK/s TVWODEqfWeMzYR4cBjpXRNqNAkSrXb0SRLiivTN8pWMiIjn8lY/avRfrygu/f/BjNAU9Kwqej4X xBRSj8+fylzzkQrPesDP99ndSSvJI2rVt8+6XEGwd0U1cWkXTaYZtjTS8a8C5u92kizlqlq2myS 8Xse2aQF5x4f8Kby1zvqd2w5TZ7cXY53AKSVU64uV8FUgYJKa022r3rffFvWLRAoSr8G1fVXqES oGEAqTlRR0Fa2HdjBs7eyt07F+4nNzYW4FSh/1k= X-Received: by 2002:a17:90b:2892:b0:341:194:5e7d with SMTP id 98e67ed59e1d1-353fed74c1fmr4474593a91.24.1769602028175; Wed, 28 Jan 2026 04:07:08 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: shveta malik Date: Wed, 28 Jan 2026 17:36:56 +0530 X-Gm-Features: AZwV_QifUZHuBuoE1Bf_X8S2DSUjU4fAvRYUpiv4Ksynd8feoMQDDZAc2pGxBYw Message-ID: Subject: Re: Proposal: Conflict log history table for Logical Replication To: Dilip Kumar Cc: Peter Smith , vignesh C , Amit Kapila , Masahiko Sawada , Bharath Rupireddy , PostgreSQL Hackers , shveta malik Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Jan 28, 2026 at 5:33=E2=80=AFPM shveta malik wrote: > > > 4) > +# Verify that '2' is present inside the JSON structure using a regex > +# This matches the key/value pattern for "a": 2 > +like($raw_json, qr/\\"a\\":2/, 'Verified that key 2 exists in the > local_conflicts'); > + Oops, I missed adding my feedback for pt4 earlier, here it is: To properly validate correctness, given that local_conflicts is an array of multiple local tuple details here, we should also check that it contains the keys b:3 and c:4. thanks Shveta