Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nU2Zz-0004Wd-PZ for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Mar 2022 08:30:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nU2Zy-0001TD-GD for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Mar 2022 08:30:54 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nU2Zy-0001T4-7P for pgsql-hackers@lists.postgresql.org; Tue, 15 Mar 2022 08:30:54 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nU2Zu-0003Hx-4k for pgsql-hackers@postgresql.org; Tue, 15 Mar 2022 08:30:53 +0000 Received: by mail-wm1-x330.google.com with SMTP id n33-20020a05600c3ba100b003832caf7f3aso923377wms.0 for ; Tue, 15 Mar 2022 01:30:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=0kIbjMujD0xgnkBh6KBf7entJlvy46eMgyvObNXwOSg=; b=j7VXs9sR6XCiN9IWdkYYZWWRAGOzfmyMaLitlLXkq9kuwfgIe6jnhlm2cQI3AP/gH9 6whRdZa1XY3XGX8xqq722zrMNzRIN+vSRpd1Qh+jZh6KUPFRFc1uB9VTKlmRkLLhzYeP JZ208eebRHb7SwyGQxBGv+L03RodKC3sQ//bzfoL3whz1ffKtZzvW7O6yG7d39OWQ288 NQx5X1+fYmBeHZVo+uwWSmBCyO3fcocMfwAtaLcLm2q2Xj1kv7n8n5zRQrcJZChVGfgz X7FpsryU7/SDKkC7kOcNEZ1B1Dmq9IMolq7xtPa82Fz9F4J208GvT6tyZWXWGbRN77KV ex7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=0kIbjMujD0xgnkBh6KBf7entJlvy46eMgyvObNXwOSg=; b=XWiBYEJiDtS7mFS3NKd+WQN7jIJYOvL0+H49AhMWvHk3bnya4TLrzMcRBLnifLLBhh AHSUw6rO29EKecRwSzUz4aT9mrOCS2bTMF7Q8pN6guBc4iUSAr1mhaN0uHsYmnfV0zTc ghMNRWMHZ0HGK9C3k8C5nztuqPrDvH5yskbpBimk3x6YIba2bpzVg4BBC54TVaLo6J8i D8GSpUtgLQx0hfqLhRTMZbEEfF2h9dlC6mAQ5mAZnB6guP9UahLiLcQvLI3XfwUZwyMN QYsYuxPeahlwFTYknjfsN+vHxTBkbI05ocVt7bqHrewegBclZgLepINpTMNODq/+U0H3 fiNw== X-Gm-Message-State: AOAM532qBzA3bcK6Rv6sV7mgtbPNu3FNgL41uyjFfGpUUTvNsm4JYpul lAOxkHeVUnfRrBZpLNMY+CJsJyMPBC5Di9OTITXD5kTu7hKtH/jqrhoxU2RC1v2VlY139m5BVR/ A1HzoQ6eEsb6K/nFxtXmDPQ9Dasb723+747U+JyEJ5dBnVYJySJwoC4W6BxyMPykBmHnd8P+OSd 305hJOqfQlNQ4Deoa+euEcNmBt74gfdqIGoYbK X-Google-Smtp-Source: ABdhPJwMA6YILlkkPRYCs581QKE4KG6c5bDbNFOqhdYWGHKCXwtKhNwf8so20XmbMPwTh1MwFe9X7g== X-Received: by 2002:a05:600c:3b14:b0:389:e95d:75af with SMTP id m20-20020a05600c3b1400b00389e95d75afmr2235762wms.143.1647333048094; Tue, 15 Mar 2022 01:30:48 -0700 (PDT) Received: from [10.137.0.18] (cst-prg-83-220.cust.vodafone.cz. [46.135.83.220]) by smtp.gmail.com with ESMTPSA id p11-20020adf9d8b000000b001f063deef80sm14938335wre.86.2022.03.15.01.30.46 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Mar 2022 01:30:47 -0700 (PDT) Message-ID: Date: Tue, 15 Mar 2022 09:30:44 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: Column Filtering in Logical Replication Content-Language: en-US To: Amit Kapila , "houzj.fnst@fujitsu.com" Cc: Peter Eisentraut , Alvaro Herrera , Justin Pryzby , Rahila Syed , Peter Smith , pgsql-hackers , "shiy.fnst@fujitsu.com" References: <202201120041.p24wvsfcsope@alvherre.pgsql> <78b8d385-57cb-9a3f-cfe5-9f300f15eced@enterprisedb.com> <822a8e40-287c-59ff-0ea9-35eb759f4fe6@enterprisedb.com> <2b8471f9-3849-c91f-ef82-9181d4bca0a7@enterprisedb.com> <16e83ce3-8415-b732-37b2-c3329a2c13a1@enterprisedb.com> From: Tomas Vondra In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-CLOUD-SEC-AV-Info: enterprisedb,google_mail,monitor X-CLOUD-SEC-AV-Sent: true X-Gm-Spam: 0 X-Gm-Phishy: 0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 3/15/22 05:43, Amit Kapila wrote: > On Mon, Mar 14, 2022 at 4:42 PM houzj.fnst@fujitsu.com > wrote: >> >> On Monday, March 14, 2022 5:08 AM Tomas Vondra wrote: >>> >>> On 3/12/22 05:30, Amit Kapila wrote: >>>>> ... >>>> >>>> Okay, please find attached. I have done basic testing of this, if we >>>> agree with this approach then this will require some more testing. >>>> >>> >>> Thanks, the proposed changes seem like a clear improvement, so I've >>> added them, with some minor tweaks (mostly to comments). >> >> Hi, >> >> Thanks for updating the patches ! >> And sorry for the row filter bug caused by my mistake. >> >> I looked at the two fixup patches. I am thinking would it be better if we >> add one testcase for these two bugs? Maybe like the attachment. >> > > Your tests look good to me. We might want to add some comments for > each test but I guess that can be done before committing. Tomas, it > seems you are planning to push these bug fixes, do let me know if you > want me to take care of these while you focus on the main patch? I > think the first patch needs to be backpatched till 13 and the second > one is for just HEAD. > Yeah, I plan to push the fixes later today. I'll polish them a bit first, and merge the tests (shared by Hou zj) into the patches etc. regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company