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 1vlCe9-008orB-0y for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Jan 2026 21:00:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vlCe8-003u0P-0U for pgsql-hackers@arkaria.postgresql.org; Wed, 28 Jan 2026 21:00:16 +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 1vlCe7-003u0B-2G for pgsql-hackers@lists.postgresql.org; Wed, 28 Jan 2026 21:00:16 +0000 Received: from mail-qt1-x835.google.com ([2607:f8b0:4864:20::835]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1vlCe4-002nv3-2x for pgsql-hackers@lists.postgresql.org; Wed, 28 Jan 2026 21:00:15 +0000 Received: by mail-qt1-x835.google.com with SMTP id d75a77b69052e-5033a2c4b81so2862931cf.0 for ; Wed, 28 Jan 2026 13:00:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1769634013; cv=none; d=google.com; s=arc-20240605; b=dA3+wIDJRiUkBvWTmCkYrDfwm3sbauIBVTPzvCRqsYho+T3k3hXO6kOMxjp8hoOUsi B+zLYCS+BcEpbwhF3VSBWHNXMKseT3a1XkNi4HEyeDq+jferm/5pWQUiit+C3+ovPk9a pABIKs974Ec8ciDVWRMeHTNweOaD7GwTknP7kbN+FpBO9Y/3wL8ZimQ6GJDn9L1VqSfG Y1XVFua4MA1PuygShaVoKwZyVH1k2XGLR740d3e6kNHUSSrOsJjKPoN7VFn+IHP29T4S hcQpCjKzGWNVmIJVX3zn+ze7R7jXNPxvDk4Bn/lJsc4EXAac1pBnj/8nZDnnLOjgu0Ir DsTQ== 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=C9GIdAQ23ZV8awJzpUhLMaY+HwASMvs2ImlA4zodN9I=; fh=nLBaivFXSekhqBfqBlC8oTXF4SqB6++G1yONvcQyVwE=; b=XzFECJ24+6dPljqYu6dukd7zCAyMSCJ9ltuLsGlzvzwGD5sGqA5ux7avKMUM9PTznN a8e0ZS+49wNeF+bo4hWxmO5R6VtC2BIQCpsas/nZFnH1QHFjnsxz86JwuNz8aJ5enb3+ KSyInTKRwET9T/OYQVNnmDrBVXhbRrlo2puQrCGkrk874hVmRMQZjbtqGCD5aezpRggm atC0/zePF98Z3y4Q64QHvs9iyeS+vvA2ECTvzXXGtVEc/MWjfrSQyKMVykmZT7aikDg6 UJU/GrNh7wrG3L/8rU/kbLtGZDJndme7FHNfIKE2qJSE7L7FpcY0jQ4LCzBVhsK+cPW3 jcvA==; 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=1769634013; x=1770238813; 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=C9GIdAQ23ZV8awJzpUhLMaY+HwASMvs2ImlA4zodN9I=; b=iJr6IC1mAcH6BAl5aHfGpTXeAsatmTIEIpXJll36LsKRI6jSKB9eoIfBs6YOYAjpPV DLk4eXDfhUOVE0H8IEKsQuT/WeKdAm+5olRYMtKrHhKTiYiTwcBSBzqj2/jRNo3efR0S qE4es7kW93T++j+SBFNAWii2Gd2TAZVVCjtSaSveg+K0njKcC5IBSP7ERxb+uhs8CIJI lHqOEpiGtDTxC6oN9lkv2HV00qDtSkGlw3PDZW3mj8gKTKIoQxAiD91VYtRHuMBPT2ZR 4pOk6n4ea/WOwb+W6D0X+vxJblPs8BP1hrPNEPVkg8Gzk2YDI0c/6lvlZEIQ9F0Q7vBz 85zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769634013; x=1770238813; 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=C9GIdAQ23ZV8awJzpUhLMaY+HwASMvs2ImlA4zodN9I=; b=kXfsLqx3yck4vJaYVGf4jhCUedAdMzyLGxXNYuz+pOm+X9N3xUra4EJT/Q+YSlUrSU x++cbVFrwco0rus6RmEUFZquu/rD1RM/o8I2WBlblzYGiSkHmNYDSuUb++23pVMIgUsM 4glwZNVMhjDdjRQwNe+qF54JJDvOuvgnAiJ3Tik12FwQOXDtLUTDBXPyCVPXyXmxjJFS Cr6ELTV/sadrSebZVwLs5HTj0d4+bFaue/Vmyj4q7GN8M1Hvts2BpE3yw8W2OOscnI5L 1k8wLIfOamRAB82ca6Lmk2xHRa6XY2wjlHUDvXmrwoqzpVOpFYv8NK1nvzrNFqXQfvOp 84XQ== X-Forwarded-Encrypted: i=1; AJvYcCUXsx3Hk75rOj+Fh5aDINBAIhEXf1SwODDNUJU8qVRneGTYV43gQggLpaxiDBHVECmTSLxvAFqznEArE6bo@lists.postgresql.org X-Gm-Message-State: AOJu0Yy820aRJB8BsGbXFw5Cj+Py4/NixFOifNXBgGwBJ/6JnCstFE9H BhAvk5M45YHIThTaJzYazNGyl7y+nO+OOilKyYkiVBQg9L2k6bhdAjWxhYcQcEdnD2h2Wev61OT /kdq2T8pMGsOoG/VNY3L2jCL9iQ1cowc= X-Gm-Gg: AZuq6aKtHliU0EIH+AYgvnENY5xCzoBruA/b9hU+7oPAk0oid7Hp1jL5j3yc/BtzYWI tE7TeO+DhSjaVbn90E24GrtaIu2ZvgLlS4hP3xxWurfmGRe6YzKsN9/GGXOGo3kDacm5LBSMmG0 loICcek5vSVWD73Bk4ZxsX7MZBw0u38JXVC6teUAqpoeTBXn12an0YvtOwL0FoGQEPkxawNf7Sm M4Ik+zL/MZCHRtVHT4aDtNY9NQBkj+vaA7GIrqgf2ohek3z1kOuHDYyzc+gbMjKP/cSt3oFUNeA Dx6sW7ASU5D8TpP83/pTOxr1mXu2dQ== X-Received: by 2002:a05:622a:11cf:b0:4f1:c7b3:b180 with SMTP id d75a77b69052e-5032f881051mr72529431cf.36.1769634012740; Wed, 28 Jan 2026 13:00:12 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Peter Smith Date: Thu, 29 Jan 2026 07:59:45 +1100 X-Gm-Features: AZwV_QiYa0ukwajLvcMse8FZBcu8mQHuHdpO2lksuf1gygHzEi0SlshWnefG5SM Message-ID: Subject: Re: Proposal: Conflict log history table for Logical Replication To: shveta malik Cc: Dilip Kumar , vignesh C , Amit Kapila , 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 Wed, Jan 28, 2026 at 11:04=E2=80=AFPM shveta malik wrote: > > patch0002: > ... > > 3) > This is defined in conflict.h: > > +/* The single source of truth for the conflict log table schema */ > +static const ConflictLogColumnDef ConflictLogSchema[] =3D > +{ > .... > + { .attname =3D "local_conflicts", .atttypid =3D JSONARRAYOID } > +}; > > while its element 'local_conflicts' is defined in conflict.c: > > +/* Schema for the elements within the 'local_conflicts' JSON array */ > +static const ConflictLogColumnDef LocalConflictSchema[] =3D > +{ > ... > +}; > > It takes some time to figure this part out as a reader of code. I > think we shall define LocalConflictSchema schema immediately after > ConflictLogSchema for anyone to understand it better, unless there is > something blocking it? > +1. I had asked for this same change last year [1 - #17] =3D=3D=3D=3D=3D=3D [1] https://www.postgresql.org/message-id/CAHut%2BPtSggpJH36YOwdfmY5gU6yr7W= a-%3Dreht4c2v%2Bn8FYUKJg%40mail.gmail.com Kind Regards, Peter Smith. Fujitsu Australia