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 1wQ0oZ-001Dcq-2S for pgsql-hackers@arkaria.postgresql.org; Thu, 21 May 2026 10:39:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wQ0oW-009qRh-0A for pgsql-hackers@arkaria.postgresql.org; Thu, 21 May 2026 10:39:40 +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 1wQ0oV-009qRY-25 for pgsql-hackers@lists.postgresql.org; Thu, 21 May 2026 10:39:40 +0000 Received: from mail-pj1-x1031.google.com ([2607:f8b0:4864:20::1031]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wQ0oU-00000000iae-2B9S for pgsql-hackers@lists.postgresql.org; Thu, 21 May 2026 10:39:40 +0000 Received: by mail-pj1-x1031.google.com with SMTP id 98e67ed59e1d1-3660ab73adbso4109388a91.1 for ; Thu, 21 May 2026 03:39:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1779359976; cv=none; d=google.com; s=arc-20240605; b=bcbaoAakWEJ7U88Kmwu5ncY67rGDuGBv1Vi9tJ+32c+2NJ4hZe+FWtfmkfd//TajCS hSJV7y+guE4PHK1QYAo/NE/Q3HlEIeQ1kXwNvMuvm2dO128vDm0FZ+BAZYgT4bUsWeoW zm5TlMHHgszIdD9RCDCm52nc9x7y2FU+Tpc95vwTwkXJZmI2xr/Y6dUC3lAMencaV1vw zXJXjixOtAvrDb5CL54+o7u4Kmpc986BhO6XBROpOm4Qje+jo5qQJxyzJic7XEK8iUTk p/67iCMjmYcZQE5tUNDua5aw1iXS6d39JR3b2KxFig2Hf5W05PWRRbwy9yMWyjkKAkTs UkxQ== 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=nczLEvsPzCu30vCK5deewtc0OcDOVXl4qw8o2KykYmg=; fh=ruZ6JzJCs942vHOFlXDXc1HXjoYikvKYIYMvm4Zb620=; b=aQ4z/phy2qcik8BQdQ+6xXks9NVyFja/cZfliT5kubEjSDUeOFeAJzictX7KoZ3ev0 J3HurmYH45MJIDfrHWDXlIkZVnI/oOLD+lFI4i3L1+9Hia0HSjsaPQWUqQFEwXqvwSNN TtFt3zNMb2v0iL+4dtmm8NAbHtdj0xhXM6BasE8E9L8+4EsJHBlUN6CU0tfdDoZC2eeO LzSzvPIMIbwBZqyPCG858bmq+AOFrCANkIX959niZDT1He8h99ZoA5L3LqbQCf/VHG+y 4m2OpdnJJFJm1A0oB6iGVAGizTZf+D6Mpp8QyT1a7LngJ9M/NhlVvUsu2FX2Rm75yFHW AXYQ==; 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=1779359976; x=1779964776; 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=nczLEvsPzCu30vCK5deewtc0OcDOVXl4qw8o2KykYmg=; b=QqEYrEqwLfzPkBy2i11Mzu/0WIp/+d+JuvDby844kgNeZJGQxMv5mB6+cy9eEwDdA+ WJ7qiQlOAzKJWlgAY4eI7+jHxp6YtEhz2UA+pTasdI2ebvb0CShqMlz6lxmR/cJsFGed kqMxJWsr0QCcw79gG7118X2PVUINIDuXFTjpcB5HjLJgLtoD+Eryy3v1q1gWklDgYUvz ihrhQ6AIwC8OWhE958NfASNbxoCvGJ4Gx3TZSSBrM9PCjY2u5YRnWLyolNCp+rBG8S57 xYI79mqZtlgb0HHorBOiIBL0uKQ2NJ5XV+SUDD+LtKWREI8Tzg5lVzUy3H3GZm2sIiBb RCOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779359976; x=1779964776; 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=nczLEvsPzCu30vCK5deewtc0OcDOVXl4qw8o2KykYmg=; b=dx2+DAWWerFU3qh2MGRbORLT5WBDuY5/XE6lQex/WQpHGnKwTg023QFCDKb1McBjg/ i6WgM7GY0u4jGUQmgGR6kcU/fum0SEq8odHoJ+b6uVulYlNy/qweZ/fHN/K5n5NAXMRQ n+g8VPwwYCK5Pr8QVfW5bXAP1nhYkRdsZKmCObUeIm/hPAEkeueWWZD2Ox9rt4FppZlH i4V+VXT/DuN0GeE/3iddf5mlMW+fcUJDaqRdDxIrlIkXE+012RXcwLgXkPAuqshjkSwi ljy180dbyTjrSqlXIE25zBuYMn+lES6EwTtjK5afYre/JGq63NQUdWkM2V+BuUoU8ppN laRw== X-Forwarded-Encrypted: i=1; AFNElJ8f0BgduIdYHSQ6Z9GrgcosARyU/s/SdztMvwE+cMW6x+lW03oCY6M2XpCXXwaBZjg/KGapAi7A41DX9Cx+@lists.postgresql.org X-Gm-Message-State: AOJu0YwTtlmUFT7hOoQphB2g3f4+M6MVVDEgIrVYWNanmHUVFDx0STV1 WWQ1WJAP0JRMvCh19T9Py7lCtpJdU8NONQPm79uVErgiPkw74kW1DB1mmVX5lmRrn4kd06QlNJp cz3Ahx6HzTOXfO8qEeYVdtz5xamt7xzI= X-Gm-Gg: Acq92OHB67NCjbxkgv5n6gaCafn6f4GJXROBwUW4wAt1SKKmwXoVYPxZ4vimNfCPoHW qw4annqAXsm/sTzgq+zLY6g2vhnr3hy8VAjXXLzzgcPJXMrCa4uU28IEyUMcckBDC2VfISvLAb1 N4hxV2dBLK6/daPyQIq+x1QYYxy1R1Hkl7daZeq1t68JcO1MQ2zh5Q/w2upQKeeUZfm/BFm5fpE 572jVGRyoelpuT31uup+/xJxYl0Q7SZQ34aleOYvY381ZlxMUBXz9OwzvqgvsQgJ44QvYVp0p5K sn+Ok+N+EgXqvYUgga6ToQNsVEAmfY/okqWrjwbjaOmcTZkOKTkrcg== X-Received: by 2002:a17:90b:50ce:b0:369:5812:c622 with SMTP id 98e67ed59e1d1-36a49025694mr1696584a91.6.1779359975918; Thu, 21 May 2026 03:39:35 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: shveta malik Date: Thu, 21 May 2026 16:09:23 +0530 X-Gm-Features: AVHnY4Jymb89S4QoIhQ460NJfyu1RNHdOSKfdcGe5FH0_eMawcRrciiHKAO9CHs Message-ID: Subject: Re: Proposal: Conflict log history table for Logical Replication To: vignesh C Cc: Peter Smith , Dilip Kumar , Nisha Moond , Amit Kapila , Masahiko Sawada , Bharath Rupireddy , PostgreSQL Hackers , Shlok Kyal , shveta malik Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Few comments on doc patches v36-008 and 009 combined: 1) + An array of JSON objects representing the local state for each conflict attempt. 'each conflict attempt' looks misleading. We do not attempt to cause conflicts; we attempt to apply, but it may result in conflicts. Shall we rephrase to: 'An array of JSON objects representing the state of existing local row(s) that caused the conflict.' There could be multiple rows as well for multiple_unique_conflicts, thus the 'row(s)' 2) + The conflict_log_destination + parameter automatically creates a dedicated conflict log table. 'conflict_log_destination' parameter does not create the table automatically unless it is set to table. We shall clarify it. The conflict_log_destination when set to table or all automatically creates a dedicated conflict log table. 3) + Conflicts that occur during replication are, by default, logged as plain text When we say 'Conflicts' here, we shall make it a link to '29.8. Conflicts' chapter. That way it will be more clear. thanks Shveta