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 1vs2tD-002Y9X-2m for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Feb 2026 18:00:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vs2tC-004aIe-2C for pgsql-hackers@arkaria.postgresql.org; Mon, 16 Feb 2026 18:00:06 +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 1vs2tC-004aIT-1G for pgsql-hackers@lists.postgresql.org; Mon, 16 Feb 2026 18:00:06 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vs2t9-00000000vhx-42Ho for pgsql-hackers@postgresql.org; Mon, 16 Feb 2026 18:00:05 +0000 Received: by mail-wr1-x442.google.com with SMTP id ffacd0b85a97d-4376de3f128so2329644f8f.0 for ; Mon, 16 Feb 2026 10:00:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1771264803; x=1771869603; darn=postgresql.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=4Id/KQBAVwWHgPh9vJQKpOm4OXH9jO7vEZQDOzM+wLA=; b=JwayVIcpv4PEG4/pmJPZ7d+Q1aKnAX0viF95HlDv3iGgPxtRHMAQ7nQj3z9vNA2juT EocgE/00UnOiYabiygrbDlPQGK3qCWC2KbpNKOtjNsljaiNGaoM7+p1eglX/jijQN327 3cbqDQRDcpVdGNt41Txo/9d9kc0scuNiJoEEGUogbXWeQkxM4U83XfmHp92gilKMijvj J3V/dHhBSH/4TgXaI3e7kl7Dbhpc833xI2+B7C02M8PSe+y/W84yMRxFt83N2AaDISXu gLeYmveYmW4ydPnBXCvMzAFAr6n51pidPW2bBak6u5MhUAMhlMQ7t22XSzGnMOIzQzCP 3gRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771264803; x=1771869603; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4Id/KQBAVwWHgPh9vJQKpOm4OXH9jO7vEZQDOzM+wLA=; b=pPJHt6rMCdvviN9M9IXOr6mhP4M5sYrJu0xzuiG4Qnb8f+cUBAEwJcBD0dHFI2oQva 3cWZZKfjbxzJX66dRVfKee6wrYaf9MP47WqSga57w6HH+E8GzOn9l+90nxNaOvY+vIjK R8f7Q5LwdILS1s86Y6Lq4BoYUkFhOJNyNdy+IUXsFD9H2DtISFjhW9zTJ45tSJnV1m4k leHe8qw9c1VmSI3ZPIyC0kDMUIjVzTX0dgpASP6SIHw/8yL3wBigAmttrvvXVEwyjX6D e9d/mRjszUMkmoHUBw5gRblE/JDlqEVQi0L+7NSIoYZBSvlqvo6ZjEt4VMexsqhSCHyk YM/Q== X-Gm-Message-State: AOJu0YwUp5g1QC2nrrhZQaOm1TGde9aoQJkTJapX7JnJrs9k32eAtYgx UcQlPtv+tLiDn4wqH+kabq5k6mkoXfcnKXTtxx4i4LNQuZMPMZk5uiT2xTJ2Vq1E6q8= X-Gm-Gg: AZuq6aIurL4INAkZp5OmAU30Ht7UNAhY9WPTgkW1sSJQvliyChxDncBz29xyL9hLd92 Ijth0oESuZ6SMAmYx6Csb88P/B/yg0JKAyBzyN4CkL3zPCR38IKYDrysZk69EtM56hH6tUAnLuK WIgHsplPK6QbZ2Iv9oaYqExLE8YqGXC0vmyWVD8ekvEGbTkd8yPN6DMsMF7jQ7czYvpDOGcf+kU zSNty6ZlsjGOMk9yt2fktZ3X8stBMkE4yCwMYfs8E3oRK8bwUK4JG4k9Ji+jwtStoVTlh7UgwKy grdaDP01SXNC7v1ztByoZqpuM7ZUHqWTUzYKb0xfJAheo8JdoO4wERbUL/ySVnunSJ0mWHAe6gH IpfSClXQDI1nmLOJ/vJ5OffJHzi7SSiI0IR/9ke45IZahfxDM4SvnGRI4hgLV3NiWxR87qEFtSW Th5ziS2FpaKde/dkTqr6/rAPFM X-Received: by 2002:a5d:5f87:0:b0:437:745f:a6b8 with SMTP id ffacd0b85a97d-4379db34157mr12945598f8f.9.1771264803035; Mon, 16 Feb 2026 10:00:03 -0800 (PST) Received: from [192.168.0.50] ([89.149.93.164]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43796ac9d77sm26363697f8f.33.2026.02.16.10.00.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Feb 2026 10:00:02 -0800 (PST) Message-ID: <6e51b015-0cb7-49aa-8d09-024f58fc6c2d@gmail.com> Date: Mon, 16 Feb 2026 20:00:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: race condition in pg_class To: Noah Misch Cc: pgsql-hackers@postgresql.org References: <20231102030915.d3.nmisch@google.com> <20240512232923.aa.nmisch@google.com> <20240605181706.fe.nmisch@google.com> <20240611024525.9f.nmisch@google.com> <20240614003549.c2.nmisch@google.com> <20240621212842.98.nmisch@google.com> <20240628051353.a0.nmisch@google.com> <9f7cc148-55d1-4062-8229-b6886d7aa380@gmail.com> <20260216170326.af@rfd.leadboat.com> Content-Language: en-US From: Alexander Lakhin In-Reply-To: <20260216170326.af@rfd.leadboat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 16.02.2026 19:03, Noah Misch wrote: > Here's the non-TODO failure in that log: > > [13:11:30.050](0.002s) not ok 10 - no such database stderr /(?^:FATAL: database "no-such-database" does not exist)/ > [13:11:30.051](0.001s) # Failed test 'no such database stderr /(?^:FATAL: database "no-such-database" does not exist)/' > # at C:/tools/xmsys64/home/pgrunner/bf/root/REL_18_STABLE/pgsql/src/bin/pgbench/t/001_pgbench_with_server.pl line 100. > [13:11:30.051](0.000s) # 'pgbench: error: connection to server on socket "C:/tools/xmsys64/tmp/P5YfRmVxhI/.s.PGSQL.10766" failed: server closed the connection unexpectedly > # This probably means the server terminated abnormally > # before or while processing the request. > # pgbench: error: could not create connection for setup > # ' > # doesn't match '(?^:FATAL: database "no-such-database" does not exist)' > > > The server log has the expected message that pgbench didn't receive: > > 2026-02-12 13:11:29.662 UTC [8948:1] [unknown] LOG: connection received: host=[local] > 2026-02-12 13:11:29.664 UTC [8948:2] [unknown] LOG: connection authenticated: user="pgrunner" method=trust (C:/tools/xmsys64/home/pgrunner/bf/root/REL_18_STABLE/pgsql.build/testrun/pgbench/001_pgbench_with_server/data/t_001_pgbench_with_server_main_data/pgdata/pg_hba.conf:117) > 2026-02-12 13:11:29.664 UTC [8948:3] [unknown] LOG: connection authorized: user=pgrunner database=no-such-database application_name=001_pgbench_with_server.pl > 2026-02-12 13:11:29.664 UTC [8948:4] [unknown] FATAL: database "no-such-database" does not exist Yes, that's well-known Windows-specific anomaly: https://wiki.postgresql.org/wiki/Known_Buildfarm_Test_Failures#Miscellaneous_tests_fail_on_Windows_due_to_a_connection_closed_before_receiving_a_final_error_message Thank you for paying attention to my report! Best regards, Alexander