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 1wZpw9-001JcN-0v for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Jun 2026 13:04:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wZpw8-0061XT-0V for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Jun 2026 13:04:08 +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 1wZpw7-0061XK-2P for pgsql-hackers@lists.postgresql.org; Wed, 17 Jun 2026 13:04:07 +0000 Received: from mail-yw1-x1133.google.com ([2607:f8b0:4864:20::1133]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wZpw6-00000000o7t-17Zb for pgsql-hackers@lists.postgresql.org; Wed, 17 Jun 2026 13:04:06 +0000 Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-7f811da1eedso40650137b3.2 for ; Wed, 17 Jun 2026 06:04:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781701445; cv=none; d=google.com; s=arc-20240605; b=kUegksg2nD7ColA8Xfz7WXs3tjpZPd+aOQ7Zrlv7IqoW8QWb6J1U1zpaPcDpdvubbS OlKG/iICAA5ER+KI8vOYFUxyiE4d6RKxSH3+Azu0rl1WMcr8UBOUz/OEvigyNjiKREmg iPChduFhp9z7bMlR5Dx3lLQetleFgvbQdSBdOrXN6ctcNXLhQqcJLL4m08MKFjVcAT4f nfbJQYtHTuO85M7qgqtEFfQBAG26N0lZFqHItGh70SEI8XfRd8HrMIM2vNAr3FO4qJng ssROZ49H3w9CqZuuUYsuggMEY1Z9Jnhw6TdS4+Z1gb90QeovGjoH3br8oLlELW1Ug5aJ ENhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=DvkyeQYYRvU5UQQJNmPsHHK/gR4UujIF9QOcphmQtCM=; fh=5gQ5LZCzuttLYkma6yKWQs0Eu3EStyjDk/27vMJyEcg=; b=BTCQUyVhDeK5O39pWiQoCX/RrjNOhjsvJgHipbEXTYDgi20kUSXLSCSD8k1d1OOHw7 9CWK/sW3vW4FJ3E8U857vjOcqVHvr3feSRpWjITItaejQ/spZr7/z0NfDxoMKTl1ZSxQ ZKfM7qcmYe1vE6tLCkJaAN2piGi4yYRVrnIIhDSlJQNwpqO+/4pR6TqJthHDfDKHki7a 70HF21U0oHc5YYr8h2nKx3g6ldvw7svJ4eLpODxfdHUyWPz9v7AhSwx9eY/2YXM4ekdD z+Bvw8oOW3JStorNHOku0TO1vxew/RxYifmULTqxp0bi8VcOxMSreaKcwmAZLprccsKW P6CQ==; 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=1781701445; x=1782306245; 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=DvkyeQYYRvU5UQQJNmPsHHK/gR4UujIF9QOcphmQtCM=; b=mjrGCIKiFoUkXxRt5kpqK96uqqNngpp1YIyEY1Tp7L1XhL/AukIPLPeqtBT9zlqNI1 q0WAVm3WpNU4w+NK1hqLq7cPRJoBgsb+HoJm9aWPGzpkSmhX6JIpYQjyVm6CDn9hagvl aJaspLx3ld8kBjd/PCSyETs1W8dOzEgpHWX9zeVuB7OJk4e7tEv7Ej84SoVHl/XqAL82 crD5671CGb09/unrh4LMYNwVv7nI8vENR/XNNEMnO09xhArLcDVvwDdcWYyzUWg5WVsH qrAVbK1fI9XCatYxt7o4HQE1Fpaod+BSMpOBRvWYj7kDN4DFxK6Z3gC0haqDiKSmSrXH Aalw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781701445; x=1782306245; h=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=DvkyeQYYRvU5UQQJNmPsHHK/gR4UujIF9QOcphmQtCM=; b=sWitTtKgO3D9zVku0R3BfjBKVYB9Wxd9OSurgW7hcXfrkFRG4oaZRF+3KkpVJW1Kxd ZWMVSTx+PUfq3348DZE49ALh9rtMKgspnItr+yKj/U/D+IR2DEuQR5P51hJzzZIeYkhB 6c6O2HEL228A+Xb4dPqsW/1RM9YKUHS65sV3+LZtE/8h+/CIp/1SaIlY/DPsT8McOOuy BMxYtPvDMm2Y4KgZslCTvDMPhzmrBgsyDXz8NtoUM+gdBvLooN5gUiNmabInGoYGCt4t Bh9i0Syg2SxlFH2gIwPRL6mWBUkIfgwXEqCdylwDlOMGJeR44VDGcqgfv5mFtQVI/rH7 EnBA== X-Forwarded-Encrypted: i=1; AFNElJ/2zBg3gVpJqjtbA49WEuJq8yAeLm/VqyPe8rT6axvVNvJctal1wScTnhF+QcIAEIl7DV7OenbGsRibF6H1@lists.postgresql.org X-Gm-Message-State: AOJu0YzDIWMh63D6opZALyrDRzutQXk43eYSVpgpkW8hmBSvGz4yy4kW 3ZRhp3GNQICWFszi/uZABPlVU/vJeN+A9bhDgxQlst/4pNi4swObHyXMj22Va3vBq5akYwQsgRd 5eugLPu4nq35WutgHXEPmWojAEIpPFHc= X-Gm-Gg: AfdE7ckCDFzbpe2SdTubfHuNF3aekZ9a8HcU45f/p1gytWxl+3koBOz8SrM4rMQCAnh D7Yh1VTPByOwlCiUqRQLZ2+qq64zrigbtjrB/PWSyx8Tt06al4QJn3MNmpbPyW4Lg23o9F3W4oE JLVxm6BMJbFneBi6zz5RVqwUZqpkwR6RL02KMovmz9ui9jboLARDQzo6viEvmhJth+Wqo6mWWky w2fr2DBUqEanvl9M06QqkuFrt2L9gOJv3NEE3lLFQ28cvrl2tAEA+J2C75npm3/nAUxdxrvDOVo 3AuQLdtWNkO4iaUXQolnYZAuQTtTzO8= X-Received: by 2002:a05:690c:67c4:b0:7bf:1433:8f52 with SMTP id 00721157ae682-7fe5b8e59a2mr37361187b3.14.1781701444701; Wed, 17 Jun 2026 06:04:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: vignesh C Date: Wed, 17 Jun 2026 18:33:52 +0530 X-Gm-Features: AVVi8Cem6itzaV9_SZjyNJDwqz9w9jCJKAIkwuwWKxWQiBxkD4H1dk_94n2ah8o Message-ID: Subject: Re: Proposal: Conflict log history table for Logical Replication To: Peter Smith Cc: Dilip Kumar , shveta malik , Amit Kapila , Nisha Moond , Masahiko Sawada , Bharath Rupireddy , PostgreSQL Hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 15 Jun 2026 at 14:29, Peter Smith wrote: > > Some review comments for v50-0004. > > ====== > src/bin/pg_dump/pg_dump.c > > dumpSubscription: > > 1. > + * We skip the default value ('log') to match the handling of other > + * default subscription options. > + */ > > There is only one "default", so I think this should say "...other > subscription options", not "...other default subscription options". modified > ====== > src/include/catalog/pg_subscription.h > > 2. > +#define CONFLICT_LOG_RELATION_NAME_FMT "pg_conflict_log_%u" > + > > 2a. > This format string (and first usage of it) really be in one of the > earlier patches. This was implemented in this patch, as prior to it there was only a single instance of its usage. > ~ > > 2b. > Add a comment to explain that the %u is the subscription oid. Added it > ~ > > 2c. > Is this the correct header file for this? IMO it is CLT specific, so > belongs in conflict.h. I should be kept in pg_subscription.h, as it is also required by the frontend. These changes for the same are available in the v51 version patch posted at [1]. [1] - https://www.postgresql.org/message-id/CALDaNm2r_5hmz22Gsio%3DOABvA%3Dc_cr8avv%3Dy19Epb0vKMo%2BQJQ%40mail.gmail.com Regards, Vignesh