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 1nYG0n-0002uw-OG for pgsql-hackers@arkaria.postgresql.org; Sat, 26 Mar 2022 23:40:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nYG0m-0003sp-Jd for pgsql-hackers@arkaria.postgresql.org; Sat, 26 Mar 2022 23:40:00 +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 1nYG0l-0003sg-VJ for pgsql-hackers@lists.postgresql.org; Sat, 26 Mar 2022 23:40:00 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1nYG0h-0005JY-U0 for pgsql-hackers@postgresql.org; Sat, 26 Mar 2022 23:39:59 +0000 Received: by mail-wm1-x32e.google.com with SMTP id r64so6368095wmr.4 for ; Sat, 26 Mar 2022 16:39:55 -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 :from:to:cc:references:in-reply-to:content-transfer-encoding; bh=+iP6YMx++HSZyY5kI7fWnm582GG8mj2dQGxqW8Plzj0=; b=MdWFRWC3L2xV1wMyU+f/Qp1QBmcxKAGGxTG9ZeXNeVGFrrEo7kGkHW1CoQFCYGZKNm 9MYOzfqkwv5aFeB1UEgxWs5nxpnR4LlzVPkS0JweXXHatGv461QfDeRUD6mt10NFpXHS GACpvTlC5Mlx0/3k7an80tJeV8Cmb7125NRkb4HSBTr6fUHCX3HtBOoXNah7Q46FazwU KDVS7csU9OYDAeYG2mnovKL5ZFgGb2cRDtt9lgNa1KDBZ+zqm7GNrI+r11ryem8Qyf6S 2AHr+GOan6sXwP6fKAJxOSxaxSl7rE9Am03xO2YsTI/o4dF6IbbEiHqU9OwxoVFHzPHM 79Ww== 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:from:to:cc:references:in-reply-to :content-transfer-encoding; bh=+iP6YMx++HSZyY5kI7fWnm582GG8mj2dQGxqW8Plzj0=; b=ep12I3Sag+SQZuILur2r+NelHSkA/9kNJz04Hg0tREEJs4iQLf5j+olZF5dMQ13iYy URNRhBvQgZW0P6He7JU5RiAmZyfMExRL+UI3nPieEJ+GyL9q/v57HJrTNDBtNogwqYU3 nrOSRS51olnbeUWPiaaLdrAt2zVrm4vbVhebNvhjtnI5RBG7p68kCB2YNq4TIcK7EvWH g5BvixsS+x6IqJppc5TTP+r+zoNjSgFhzPkpn1ueiptCeDWhd0WA+vibItFoqFuUvh2W wI7TYDqjQj/dydpxY6k+IFgHOFGXu08iZaGsMiRNxfHzvlnO3YFVsJgUjvppwb9/lBP3 7sXQ== X-Gm-Message-State: AOAM530z4y8eVbTFbohnVvifupHmYUBlkDVJ0y8zRJPAWSOIVlbf4D/p CSTL3mdiqGhs34l29n1ZcwxkieDYGeMrsRT35x0qRbIviy4986gE6+jlRjFiYPv/izZzbFGjZTr YhTNv/2kIet3SuPxdCXjbLuTD2kboDHukgh9Xy2kDnyd7XoJ6WwA/KDhqqd4oXVIlKaMv2bodZN MDTlbFmE+O+fs1QQwcqHQ+waUk/rzRFxwUNwGI X-Google-Smtp-Source: ABdhPJyVpwqb0IbFiIdBIEnJlYfMBTf7ju9n7EhvZj/uml5kUOZp2rszqiJQpvg5porJ7gUKhiR6tQ== X-Received: by 2002:a05:600c:3504:b0:38c:bcbc:f95e with SMTP id h4-20020a05600c350400b0038cbcbcf95emr17037104wmq.170.1648337994677; Sat, 26 Mar 2022 16:39:54 -0700 (PDT) Received: from [10.137.0.17] (ip-86-49-251-241.net.upcbroadband.cz. [86.49.251.241]) by smtp.gmail.com with ESMTPSA id p15-20020a05600c358f00b0038cc046cb2esm12372364wmq.32.2022.03.26.16.39.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 26 Mar 2022 16:39:54 -0700 (PDT) Message-ID: <3c00baff-6b37-d665-d808-7606162c6cb6@enterprisedb.com> Date: Sun, 27 Mar 2022 00:39:52 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: Column Filtering in Logical Replication Content-Language: en-US From: Tomas Vondra To: Tom Lane Cc: Amit Kapila , Peter Eisentraut , "houzj.fnst@fujitsu.com" , 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> <9c0dd1f3-c1b9-9c10-eca6-35f22104434a@enterprisedb.com> <05a7a760-ba3a-fcff-d7d1-3afb47ea0f7d@enterprisedb.com> <16b01452-fe77-7b02-22c0-1711485e396e@enterprisedb.com> <4f832e27-20a4-96! 4a-fafd-edf39e0ae883@enterprisedb.com> <170549.1648330634@sss.pgh.pa.us> <7dbaf4d7-713f-26e8-13c7-b79ed2c0cb16@enterprisedb! .com> <173619.1648331755@sss.pgh.pa.us> <8e8861f6-0831-eef1-134e-4a65e1542d52@enterprisedb.com> In-Reply-To: <8e8861f6-0831-eef1-134e-4a65e1542d52@enterprisedb.com> 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/26/22 22:58, Tomas Vondra wrote: > On 3/26/22 22:55, Tom Lane wrote: >> Tomas Vondra writes: >>> On 3/26/22 22:37, Tom Lane wrote: >>>> This smells like an uninitialized-variable problem, but I've had >>>> no luck finding any problem under valgrind. Not sure how to progress >>>> from here. >> >>> I think I see the problem - there's a CREATE SUBSCRIPTION but the test >>> is not waiting for the tablesync to complete, so sometimes it finishes >>> in time and sometimes not. That'd explain the flaky behavior, and it's >>> just this one test that misses the sync AFAICS. >> >> Ah, that would also fit the symptoms. >> > > I'll go over the test to check if some other test misses that, and > perhaps do a bit of testing, and then push a fix. > Pushed. I checked the other tests in 031_column_list.pl and I AFAICS all of them are waiting for the sync correctly. [rolls eyes] I just noticed I listed the file as .sql in the commit message. Not great. regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company