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 1wZH3l-000uSN-2o for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Jun 2026 23:49:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wZH3k-00EAUh-1N for pgsql-hackers@arkaria.postgresql.org; Mon, 15 Jun 2026 23:49:40 +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 1wZH3j-00EAUY-2r for pgsql-hackers@lists.postgresql.org; Mon, 15 Jun 2026 23:49:40 +0000 Received: from mail-qt1-x830.google.com ([2607:f8b0:4864:20::830]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wZH3i-00000000YeS-1g8T for pgsql-hackers@lists.postgresql.org; Mon, 15 Jun 2026 23:49:38 +0000 Received: by mail-qt1-x830.google.com with SMTP id d75a77b69052e-5176ca6bab1so45228341cf.0 for ; Mon, 15 Jun 2026 16:49:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781567377; cv=none; d=google.com; s=arc-20240605; b=d7Qw5fZfXQ4dTI7b0Zw7EAtWiWipP/Ff/eNumC6VkN1H2h8m5b8E6x/wtHVPE/QmsD IRlvm868SzVEi87ayMsyRxlGckOUQjuV/JA/MHM6gaMH/Bsma67Jcn7g4+eaEv0g3vLD d2FkVrpwmk2G4avYa277Nzi/4ioc1Zo4ESPQNhrnR2dWcn1gPtEB/iLzFDCcV002a1a9 eg+S0f4iyQAYGMg4SyXrnHxLYIry0+Lhq5zUeJI8qCp7kJF1vMJ1kUWdTM6tmPaqlPEY VHpZ8EL9D7zc/5d/vfhsqgY+WP8cm5F/Cq+LmmGTb/5ynu6oxLFCxe+2awBTSMdrIgzf qNKw== 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=UBBy2bVQxj7NsrGAC1pDvjUNQbuYsS8m6kNhhuP2UzA=; fh=X4v4w2QBm9qhrbVMLV1LnB4M7k8mZk7zZB1zxD1cgrg=; b=B8lsIiOpRBmh8RoRRIPM2vqbt7z6lYnxQAh9aBMBIb9PqkM7vyNJhWz540WUA9sLNf XZDTMkytbybnkMbrJVgGmu+p3oqaSOR8Fe+shfinDY2BO5YIDqQtlVGzfVwIog/pQQk8 EYzJq2Z6fKmIfS7iW0rZU5O5G930l7EWyIwLf8eAvFinSh5pHLxo8lypbcp4k6Ccdt4P yO8O+T8hL0sEUiYa32tuljyDk7vbXHFVZlPMQZzChuRqVUV4V1jOGEc//b/P97GG8Jnd jdKvz6FJ7S+dHiwi56LPE7hJ89TIfYxV5VBHx9/MSOdOGsVXsbthEEk+zromgyHSia2G LJpw==; 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=1781567377; x=1782172177; 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=UBBy2bVQxj7NsrGAC1pDvjUNQbuYsS8m6kNhhuP2UzA=; b=qijpr3CtDGyh+m7C39+Ftx7N4btS1TaZbrtTUjigQ9aWxFb904rH5qtOpt4R/iJHJb sHFLwRK1X+IIe3IFm8ApQWUVmHKsVqk9FCsNOYnn6un8e5r2am488aNp2CbYFSqPb8ab LDXXWFT7OhoQIGgtoCd+3FaSbwXwkHLOzvIwnSRn3ZzkT1YOah2Q9aujg3E0sxyN/HYp DumCXOOtQuNr88cFrB87pH7unrnZGskBwrifje/1pLZ50de2KGNooXNZ0uohou5LZn0i ORhPbHbArcUyj7tc9TGsHS2lERo2IjSlm1eVolXVRc2bA+sEnmtTLkB+fRH1S0KuWP4N KrSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781567377; x=1782172177; 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=UBBy2bVQxj7NsrGAC1pDvjUNQbuYsS8m6kNhhuP2UzA=; b=UmaP73Ahx+pCiJb8RyrI6TKabkWhcRrMR4mPcq4TgLk6z/tW3ybXqnCMBQ8ARlAIJ8 N80dVEZx1JcdQ/Ty7ZLZb6rnHV7F5JhmSsbH6JHz/OGR3KRbLsPZZVYtnaz18aw3b2Z5 TZXjFhEKAHkbb9xQD36g5cbZb3wJQ+jdilfjEQUpYAtf5v+j0djX7/cInIKSUhMsQHfC xGXPkJdu2uMXwFV546BfrT9xD/Gqt3Yy6Yi8JcM04HCpoBWHvheColKLOM7aZoptoJ+k wV3vc6GT0+GvFiN5uqyAzmJBcNPfYY1oroNOMkBnWmuImLeAfAiLk0No+9JQAWvRjfuU eOGw== X-Forwarded-Encrypted: i=1; AFNElJ9JZ9k0ul68uaBOh7uDTW+NZujm76DAbeU3M3K9He8ryC65K/Z8dV6HJYG29bJpaYfXeChpXhM/21UEcLMm@lists.postgresql.org X-Gm-Message-State: AOJu0YzrzO5Kczhrk2bFglBOXyA2g9x/92nVQGpszRKCnV+ZNQhWG1CB qJOw6BDU8gt/ZkzYHcJMgu5hZ9AHHPYIwGC/5mtngA7ZZmS19V54LF0SUe2dWER+HznDwS2Sevj ksIWqbSnaTkOkIAE4RpBAfhKijpXEzd4= X-Gm-Gg: Acq92OH5z7z8e4LyQE9oAMTHpxySilcm/WXJ2KXLRu+RuAgNTEfBjLOpxoBH+x1s8s/ YT9MOS0ad0PNS5+zXwSScgKLC3yzOIqaP2rZatUT4dL86aQmTMzevwJyI29KdYgR1pGGbGlFgNY sfn3KaO18O1izC68NThBs4iEskx4iLRKAbYuB3cehPe7miBhj0BEsMxeaEu+3Y9ENXFpNxxszM+ wHq88Qv8clAwoiY2xcfJb4bRB7jVO66pJJQoPdW14dTuM/2qC2Vhf0TdGxt1DIqzxC3ZvwVEksB nXShduoFT+XWWcttNg== X-Received: by 2002:a05:622a:89:b0:517:c65c:4987 with SMTP id d75a77b69052e-5198e00bc4emr21193831cf.22.1781567377111; Mon, 15 Jun 2026 16:49:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Peter Smith Date: Tue, 16 Jun 2026 09:49:10 +1000 X-Gm-Features: AVVi8CftBM6ygAQZfI66RwOOcC6TaRny2d9X0bDCIPoYgSq3hu_VlB8kBYDDCSY Message-ID: Subject: Re: Proposal: Conflict log history table for Logical Replication To: vignesh C Cc: Dilip Kumar , Nisha Moond , Amit Kapila , shveta malik , 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 Mon, Jun 8, 2026 at 9:39=E2=80=AFPM vignesh C wrot= e: > > On Fri, 5 Jun 2026 at 07:59, Peter Smith wrote: > > > > Hi Vignesh. > > > > Some review comments for the patch v45-0004. > > > > 4c. > > IMO there should be a separate function for handling the subscription > > footer/s, same as there is already a function > > addFooterToPublicationDesc. > > It is not required in this case as we don't have multiple footers from > different places to be added here. > Sure, it's not "required", but I think: A) Separating the footer code from the non-footer code makes it easier to r= ead B) The 'describeSubscriptions' function is too long. This would make it 20 lines shorter. C) Consistent footer handling for pub/sub describes. ////// More review comments for v50-0005 =3D=3D=3D=3D=3D=3D src/bin/psql/describe.c 1. + /* Conflict log destination is supported in v19 and higher */ + if (pset.sversion >=3D 190000) The CLT is targeting PG20, right? So, that comment ought to say "is supported in v20 and higher". Ideally, there should be some "TODO" reminder comments here to ensure the appropriate 190000's get replaced by 200000 as soon as the version number is bumped. Better to flag/comment all those places now, so that nothing gets missed later. (A similar review comment probably applies also to the pg_dump changes in the previous v50-0004 patch). =3D=3D=3D=3D=3D=3D Kind Regards, Peter Smith. Fujitsu Australia