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.94.2) (envelope-from ) id 1sKHRv-009G50-By for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Jun 2024 13:03:35 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sKHRs-00758i-Vz for pgsql-hackers@arkaria.postgresql.org; Thu, 20 Jun 2024 13:03:33 +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.94.2) (envelope-from ) id 1sKHRs-00758a-Ml for pgsql-hackers@lists.postgresql.org; Thu, 20 Jun 2024 13:03:33 +0000 Received: from mail-yw1-x1136.google.com ([2607:f8b0:4864:20::1136]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sKHRr-002eO6-0b for pgsql-hackers@lists.postgresql.org; Thu, 20 Jun 2024 13:03:33 +0000 Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-632bcf111ffso8367997b3.3 for ; Thu, 20 Jun 2024 06:03:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718888609; x=1719493409; 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=qlNFir2LP9THU82tYSbcNBUi0mJrLuWUygrrEARUqNk=; b=lBGoBBDhW1yyM6/q8zwzqoHyFUhl2mR1bV/zCpfkwGcXO6cc6Qayc4E0QNBAIm/gDd GRXIOKxb0m0e3uT84RaBnfe2YZG2cwD71bMt1GXM2itylndLeM1EHJp+3mhh3Ukqq7aZ aKSSxONe7htg1tvwOPr/wp7WSCSI8v/SXSip5GsPLRQx0wyrzllsSwWXBQkhOyJzNVqz IvKcm+u0F3aCnSAk5XVyebotx+TnKuz1ytmW8aNFqV5ivZ5+GK7RE+0HjsTc+dpcDzcg tgvaDCSDqD+5zxm5DaDm//XFbsaIL0NeJbZKcCRl7hx6OJ+WIdRnHTlxGiDoWo3bW1oX YtCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718888609; x=1719493409; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=qlNFir2LP9THU82tYSbcNBUi0mJrLuWUygrrEARUqNk=; b=FmIjX8DEZs2qzUstoFfXJK0ntYo13bp53dT6xKm7FVdNqX1V5tJZoQxTIH03azMIg+ vmNZmVMj5ZkWPi+z0u3RwRL9jvNn7byxuhmNbITVooV6p6ys3hEd8AxuUO7pXwMisn9L O6u4UYpTNOgjSXPfNZh4sYxd0tgCee8kDo7f7KOUuC1aj8dLxyQ/Knqhssb8LKadqpNj 2JvFArJdZWcXetcrMhsGlcO0jzh2tZTR/XDIQXfuXusOt8W8sH80p8/mbPKnn6wK5ZGd YVY5R5yNhhM1UVAdwmZ7GQ0wbPcHL0eLHixlV5eT4fP2sZx71ybrYTpGQw7qKyDa7r1l NTfQ== X-Forwarded-Encrypted: i=1; AJvYcCV6Rm+v5F0QPTSs75IJS8lT63pYffvKUuRBxWAic8DbY06RH6N8iTGkZ7ptiUoKPH3PV8YvdWLlrk3YZH7ZYdUXbl1Bukgpq9BEPqN7b6zapuaS X-Gm-Message-State: AOJu0Yzm/evQ9OKG7/IhhRX/2+8n7oOIwWbo+V3cEgDRd5+y80U1qpBA 4IbOzmX/03igUvIAxqAKyhmtzkWy4vrFljIutKkMKLYqT+mPZHzveI8yrrAmkVazlxn2Jr3Vc8U LCLf9gXtu6kd7B+REwmp/VDDMXGA= X-Google-Smtp-Source: AGHT+IHz7KzJA0fXv+9pgwwaUqm96snLow4RHRzLBTZAMJSlZsFdVL6jEtgie9hx3VtBd3c4aTdAeFyk6j4dHCoSRiA= X-Received: by 2002:a05:690c:88e:b0:63b:c43b:49f1 with SMTP id 00721157ae682-63bc43b6f2dmr35956357b3.15.1718888607492; Thu, 20 Jun 2024 06:03:27 -0700 (PDT) MIME-Version: 1.0 References: <60E6ECA4-C5DB-4F87-9557-1BC094A9F051@gmail.com> <238fd758-ac82-4fa6-aae2-1f9c798c9202@eisentraut.org> In-Reply-To: From: Shlok Kyal Date: Thu, 20 Jun 2024 18:33:15 +0530 Message-ID: Subject: Re: Pgoutput not capturing the generated columns To: vignesh C Cc: Peter Eisentraut , Shubham Khanna , Peter Smith , Rajendra Kumar Dangwal , pgsql-hackers@lists.postgresql.org, euler@eulerto.com Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Thu, 20 Jun 2024 at 12:52, vignesh C wrote: > > On Wed, 19 Jun 2024 at 21:43, Peter Eisentraut wrote: > > > > On 19.06.24 13:22, Shubham Khanna wrote: > > > All the comments are handled. > > > > > > The attached Patch contains all the suggested changes. > > > > Please also take a look at the proposed patch for virtual generated > > columns [0] and consider how that would affect your patch. I think your > > feature can only replicate *stored* generated columns. So perhaps the > > documentation and terminology in your patch should reflect that. > > This patch is unable to manage virtual generated columns because it > stores NULL values for them. Along with documentation the initial sync > command being generated also should be changed to sync data > exclusively for stored generated columns, omitting virtual ones. I > suggest treating these changes as a separate patch(0003) for future > merging or a separate commit, depending on the order of patch > acceptance. > I have addressed the issue and updated the documentation accordingly. And created a new 0003 patch. Please refer to v9-0003 patch for the same in [1]. [1]: https://www.postgresql.org/message-id/CANhcyEXmjLEPNgOSAtjS4YGb9JvS8w-SO9S%2BjRzzzXo2RavNWw%40mail.gmail.com Thanks and Regards, Shlok Kyal