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 1wZ3Gz-000jaA-2b for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Jun 2026 09:06:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wZ3Gy-00B3Uz-2Z for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Jun 2026 09:06:24 +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 1wZ3Gy-00B3Ur-1E for pgsql-hackers@lists.postgresql.org; Mon, 15 Jun 2026 09:06:24 +0000 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wZ3Gx-00000000S73-0X8I for pgsql-hackers@lists.postgresql.org; Mon, 15 Jun 2026 09:06:23 +0000 Received: by mail-pj1-x102f.google.com with SMTP id 98e67ed59e1d1-36b8e1760ccso1943197a91.0 for ; Mon, 15 Jun 2026 02:06:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781514382; cv=none; d=google.com; s=arc-20240605; b=aJmqhIGWV+PelQcaFHFR7eqlxJv2KBSd482SYObXBcDlNk61AUdnqdeyTA93EB/68m CsVoLM+cgGbrkxxIOdP7GxTOXwmmWasRJLiC6M6bcVbD54B84/djCiibPuALyTqXX7CM 2EDafeRCHdDSQQwU4TQ/AupTtyjatpYKmmIb7/8chZpmkbOkXMn2PW/anhojW0pnAOQq XPTewkkEsjS5HaBUz9QjZtwnQ971srxGYg+pctWIiayEtdtHKtOhepNnCiE1k90809Et DkJplaEvzCUxhACOyoQuKm3hu981QypWZ+882YsCnC+Hb05yByYx0RvRprvY6XBBVEMW BuNw== 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=SFcjt9WFkMkwBA/EPF5J3DfmvbkE91RjcWKtAuVaRgI=; fh=EcXxGQATS2l48CR5tf8Tot3B1QNSrqnRBNb1H6Pl6y4=; b=bHf5KRbPFXhQ0uucZyDeyBcYZCTSneHzhTbYAAbpei4puRO3T28Hh0qpdK6eX63wwa LlNJw3tzTpOh5eSw+QTavzeP1Mar+tk+KiG1px4kdyK7xYq/dus9Pd/3eHLf8ukIpdWu rPeiMULet66tgkd/g2KTTw3yAq+dkf5v3qEIS1k7aSmOM9Yspl6cbX28vJ+FQQfX5OwF b1PQLNy3jXDVB96MctGDlzpUgZYHsdMeBG9nN5wgl8QMFfKf6vQ9DP6iSLHop+otIQks jKm7/zaNTR+pwqWTWEUliMhwUE1vIdoledKzZA8NLj2jk7eGKNBcjvCfOn30PTS6+rHJ JNQA==; 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=20251104; t=1781514382; x=1782119182; 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=SFcjt9WFkMkwBA/EPF5J3DfmvbkE91RjcWKtAuVaRgI=; b=elHjBNPCxGXy5mWa2B2oYd2LmP2ulyN5SAi8oPbkYMP1FsIaWAGsRxyXzLiyWKjcHq iMyDn9pZK/rJw7t1lNB5dRm5IpfcVGM9N/g9XZXcADQEYO9YCwFqG7KqFdZzqI2qh5IA To1LfikNyqkM9x8i23NPlC1gh3cIzj8kj74kKCTVsjRJ5StyBjdtAuEMIbSnPwp64h2p Lut1k6HTTZPzbcKOS/WpWfAPxe7EVqfxqWRwiIZJq2DPpKiNaJGfFF5flYSAQjCHWmTL sjrEN35Hu3iQ32+aJMX1ZHEU7/01/0a0D0Wy3g8Q31i205KdmBY2sftSgBVw8tXgQXEb 2xqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781514382; x=1782119182; 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=SFcjt9WFkMkwBA/EPF5J3DfmvbkE91RjcWKtAuVaRgI=; b=FZXNNAHpM5HTGxiy3Q1QxsQgR/fmz6IqzIJo1z8Em21EMoMYVe3GmPLuwWGoadb4/D fXGykT2UgjNkl+uNob4FE3hyeBoT+Q0uMfD/F3yZYLB3gpwoLOSH6+e4M5lgPW12w6dj dNQlEXFRcEmMrrStzux6ZLcsvkLPakz5wdpvTyTjs+0CqOdij28RX8Zj5zfTVqXRprM5 01nrozwnNrK6qjgag9If5ZmzcCbdDnsFxtKNy1GxZSUWu1mMpwSD0dNh+0/4bd1lwMg0 3Yc1XsTp+5Z9ZVeYqfzRomY3uMzHLtyR+pP+ivVhENVQCmG8lRjzNSORYcZPawZBdTtU oFpQ== X-Forwarded-Encrypted: i=1; AFNElJ98wJV0ilT2XsVQW1O2jVnG2jnYju33BjhY1Fes9sSveAVu4FZx+HFdAjRzkX8CV+dO+4sIOvSDeRytSqI5@lists.postgresql.org X-Gm-Message-State: AOJu0Yy20ei7SKsM6JEsQHFmd0/jYnbORe3uZxB/7UPdkPWyFNIxhMbS K3lMSIIJ2Xt7BfKNpaSXkDf9YukExSLCCGfGs4a8HzWiB89dY5Mq8bJ9e79578M4O+mDR4f2u9E uVtC06nQ0sQLm9l0z0FTGg3956ckcssk= X-Gm-Gg: Acq92OEQg7Y3DHLhutPEaa2MU6wsDspAYMv6t5sCMim3TTXRIoQZfzncCiEOrVelVh+ pN7Gg6ypg1OW52hi+ZPaeyRtz1HA2ywir2grNH0kz75d4Gv77pFsvc7dimmstyKrVasb9n+5xnp xDY2EEtbsjYLqwjtiZqGhbcEz5A1knDjVDVtZUcSkBT9Uulhiecxc4/0PPdtKwm4Me7sxyU3v0C WOyQTYs4m0e6494v1A6FUzMyiUTQV5cTFwSjedpX7bZGvkquXIWnvqNibrbV2/4Uajd+fdga7ON U5J3U+ugQuPDiZc0Hv4CW9a55/uk9gJH9O+OuWtuooXY0TojGaVFUEYcGiK1VOHpMJI5J0blM3P D81IYUhNJMRPRi7ILMA== X-Received: by 2002:a17:90b:1c8e:b0:368:ac5f:d31b with SMTP id 98e67ed59e1d1-37a040b3ec6mr14234569a91.24.1781514381614; Mon, 15 Jun 2026 02:06:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Amit Kapila Date: Mon, 15 Jun 2026 14:36:09 +0530 X-Gm-Features: AVVi8CfA4-_8g5vwVzQn6K2fBkBBbdCqxbnTp4WU-rWI-cPozf6Yp1A_MEA6wIA Message-ID: Subject: Re: Proposal: Conflict log history table for Logical Replication To: Peter Smith Cc: Dilip Kumar , vignesh C , shveta malik , Nisha Moond , Masahiko Sawada , Bharath Rupireddy , PostgreSQL Hackers 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 Mon, Jun 15, 2026 at 11:36=E2=80=AFAM Peter Smith wrote: > > A trivial review comment for v50-0003. > > =3D=3D=3D=3D=3D=3D > src/backend/replication/logical/conflict.c > > 1. > +void > +ProcessPendingConflictLogTuple(void) > +{ > + Relation conflictlogrel; > + ConflictLogDest dest; > + > + /* Nothing to do */ > + if (MyLogicalRepWorker->conflict_log_tuple =3D=3D NULL) > + return; > + > + PG_TRY(); > + { > > Those 2 variables are only used within the PG_TRY block, so they can > be declared there. > I request you to please collect all such code-level comments and share as one email. I know it is not always possible and sometimes it is good to share whatever one has reviewed. However, sometimes, I get the feeling that I may overlook some other key design related comment by someone which needs more discussion. I understand that I am no one to tell how you or someone should share her/his review but this is just a humble request and if you don't like it, feel free to ignore it. --=20 With Regards, Amit Kapila.