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 1puuDA-00053q-AG for pgsql-hackers@arkaria.postgresql.org; Fri, 05 May 2023 12:06:56 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1puuD6-0004Zv-UH for pgsql-hackers@arkaria.postgresql.org; Fri, 05 May 2023 12:06:52 +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 1puuD6-0004Zm-JJ for pgsql-hackers@lists.postgresql.org; Fri, 05 May 2023 12:06:52 +0000 Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1puuCy-000jFl-Fo for pgsql-hackers@lists.postgresql.org; Fri, 05 May 2023 12:06:52 +0000 Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-3f178da21b2so17008215e9.1 for ; Fri, 05 May 2023 05:06:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683288403; x=1685880403; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=VN0xIOV4b/hjxZuUxB3qr3T7pEmR+gOoeHB8BHWVVTw=; b=lCmYDA+8puiD0h/ZZaPxkpJJgqPF/ql5dC6f5t0M20UovKXxcbvZXh9uUse8sZeQ9D HPH3R3z7d9jx+8BlIZed232pTi6JkyIQj4L4V91nhfIht7royS57oMiJIK9jRfq0dfWt SHdp3Gko3br1ebu3r5me8qBXqVDuv+Cb95EuPKqhbwLLZTAEz/EdkDvikvNEBlGjom8O 16p3m50q615wNEdJNZROqzDFeyGWBaPeSaRASlcv22I+FnDFDY4xZerC4fGNp/8cyKqI sKCNVe/2ozf1RRe5Z4cU77bWKSEYF6q/2YIvhMDUkG2gcIXqPTmym+5Ae+E6nK1fwzhc OnrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683288403; x=1685880403; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VN0xIOV4b/hjxZuUxB3qr3T7pEmR+gOoeHB8BHWVVTw=; b=gqZuhG7sIMbk6wSzYvbE+E5+r9r/JdS8pmY3PTl7qPiQQBqi1abS5UB/gd8Z2olu5m uaEIZ86gPWodwTRpH9fbAVH3xOQFzbFEDzLWw00UIetuCmhOkVbnxACwC+mS0hEKhyyL hN8lyUSLT3l30rjplHUvr/cAE+lsCHzCGnVZHYhmk00ZIUHdZ7CZsiTauZh/djs11KfP z3PMfcKuaKoQdH1YwX7vLHPgkMiH2gafOkpqyYKMEOTyasEz6ZjlxPYVvOTwjBqjKOnl xusBHDuntnyNsbaOOVgXfG2Ci33lvNbd+z+VANH+EcLeNj2IvF2ZQvEOZQJePt0F6/ej 8NMw== X-Gm-Message-State: AC+VfDwtA2ebGfzRI0twg7O4kUXp9a5HNDQ/t1WF8GzIp/VSzPgwKEdd qyWJ/ivU3H5+QPw3nQu47LE= X-Google-Smtp-Source: ACHHUZ4qMFssA4/tjpfEm2tns2Ugn4fw5skeMR9crvMWI3nFSTOG4ZycJNw+CwdzVGR/LGjUcdH2YQ== X-Received: by 2002:a1c:7c0a:0:b0:3ef:561d:255d with SMTP id x10-20020a1c7c0a000000b003ef561d255dmr937280wmc.41.1683288402543; Fri, 05 May 2023 05:06:42 -0700 (PDT) Received: from [192.168.7.14] ([54.239.6.185]) by smtp.gmail.com with ESMTPSA id f23-20020a7bcd17000000b003ee443bf0c7sm7710389wmj.16.2023.05.05.05.06.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 May 2023 05:06:42 -0700 (PDT) Message-ID: Date: Fri, 5 May 2023 14:06:41 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: Add two missing tests in 035_standby_logical_decoding.pl Content-Language: en-US To: Amit Kapila Cc: vignesh C , "Yu Shi (Fujitsu)" , PostgreSQL Hackers References: <2fefa454-5a70-2174-ddbf-4a0e41537139@gmail.com> <17b6b056-4f53-c444-0c94-869547d1a5df@gmail.com> <054defef-de15-53e4-6c5a-d16ccc21d4ba@gmail.com> <8a13f0d8-71f3-773b-7135-5974fd53724b@gmail.com> <6711e200-0d5c-98c3-ba39-7d64a6936f7a@gmail.com> <2c544b9f-419d-d18e-47be-f3d6f3d24e4e@gmail.com> From: "Drouvot, Bertrand" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 5/5/23 12:58 PM, Amit Kapila wrote: > On Fri, May 5, 2023 at 4:02 PM Drouvot, Bertrand > wrote: > How did you concluded that 000000010000000000000003 is the file the > test is expecting to be removed? > because I added a note in the test that way: " @@ -535,6 +539,7 @@ $node_standby->safe_psql('postgres', 'checkpoint;'); # Verify that the WAL file has not been retained on the standby my $standby_walfile = $node_standby->data_dir . '/pg_wal/' . $walfile_name; +note "BDT WAL file is $standby_walfile"; ok(!-f "$standby_walfile", "invalidated logical slots do not lead to retaining WAL"); " so that I can check in the test log file: grep "WAL file is" ./build/testrun/recovery/035_standby_logical_decoding/log/regress_log_035_standby_logical_decoding [08:23:31.931](2.217s) # BDT WAL file is /Users/admin/pgsql/build/testrun/recovery/035_standby_logical_decoding/data/t_035_standby_logical_decoding_standby_data/pgdata/pg_wal/000000010000000000000003 Regards, -- Bertrand Drouvot PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com