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 1tucRi-00ADxB-I7 for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Mar 2025 19:17:50 +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 1tucRg-003W9q-6Z for pgsql-hackers@arkaria.postgresql.org; Tue, 18 Mar 2025 19:17:48 +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.94.2) (envelope-from ) id 1tucRf-003W9e-L1 for pgsql-hackers@lists.postgresql.org; Tue, 18 Mar 2025 19:17:47 +0000 Received: from mail-pl1-x62d.google.com ([2607:f8b0:4864:20::62d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tucRd-003YtX-29 for pgsql-hackers@postgresql.org; Tue, 18 Mar 2025 19:17:46 +0000 Received: by mail-pl1-x62d.google.com with SMTP id d9443c01a7336-223594b3c6dso130824275ad.2 for ; Tue, 18 Mar 2025 12:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; t=1742325464; x=1742930264; darn=postgresql.org; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=xve6psdrEZhP6K9Jc3Sm6DtC/mzJkZAGv6GHZf1PFdE=; b=ED214u3UQnCJ2BQsoH55+SJQTeuZ6QpcRfCtIJ+v/wYTbSBVpC81eERWtSlPeLOP13 JTQMYWrMIlMS+p0SucZMMgoGqaz/KVGX5Ufc4w1eEL9e6VFE+AUoUbrhMaQR1Q1W8YDI LAMRnadgFOGf4TW21OVioRvsa5+1v3Hs5tgOk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1742325464; x=1742930264; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xve6psdrEZhP6K9Jc3Sm6DtC/mzJkZAGv6GHZf1PFdE=; b=UALdWVYKc5abWZZpau2SJaf7qYjZdBnabxPDI5klAPm7zumiHIw/uJypMZ2wvri0Xt xO07nHD79StRTtiDv4ww/hgi6BYknPJJYgij+KiumLS8UWVMKvD1zq3R/F+V6CDsH5MH xLOuZh1kfI74wTy5UQ8KWcVq5ezHjieR6o7M9dAxs5pCV6hEt9s7FzpFHS876LBnXWiA cJZUjuG8NjAV+AN2NGx1El7sqpmmuFIAtvoz8W508k8WTUdQb4SpKggpB0MLk2e95fPC MspLXoKel6gLF+VVSOYWTK84SckiClrgdQMhn1xoGujT9iFrnfBMAfqeud9KWAHD27BA oQ+A== X-Forwarded-Encrypted: i=1; AJvYcCVMkBhQpYqzI3nW8eU++jUjVV6FUcyX2WWgg+LU0x7Te6XiB1hDFA7pcxZtEPR8+6rDsHEptLRlhagRKwoo@postgresql.org X-Gm-Message-State: AOJu0Ywrxog7MPYHhR2p4wPF66yHfMR3HNVja9oFTCKCRn+eq4JNoTFk JNofvtv8TgIXDYsrGYFlEmbgnmC1Mil1Cb3IjRrqbvn8q96mcPZQ4DK4Kgxdzw== X-Gm-Gg: ASbGncv5Yx2BjG6W1PiQzBBWgHldMZsRXN6aPopkdB/2ANRbqBu9b/3tb90O+ahaxMa r+keyXmOvwfgCVD1/0LlABsUIDKIb+a9Jx3316sHpZCML+G5CJBIJBfZnxJcKZgNLni/MkWKGr9 NlRbHLhi0uoFWoPYHxg1etA271/+gjr8Mgnf9bgnV/Rn4GOWA42GJJD8viEtpQI+8yqRQ21PTtT vnDXu2QTXi18pRqdxGnqSIINjTuA0kOS0/I+tEP/aSybGIsmfCnSB7Z90i8WtVNoPHqa/r6rtRh 9Zb2LcAfgpCJo5DOKeQsCxeZ8jYDz/XAuCnmY4u2ZI3kNVWPZiLg X-Google-Smtp-Source: AGHT+IGBiHnI71677VlASSH0pAUVpHw2ME86bqVJjPdL3Cjp05jVEaa2AQKPxuR1FSNFCPIWJdQnwQ== X-Received: by 2002:a05:6a20:c99a:b0:1f3:2e85:c052 with SMTP id adf61e73a8af0-1fbc661d43fmr549974637.35.1742325463879; Tue, 18 Mar 2025 12:17:43 -0700 (PDT) Received: from google.com ([2601:647:5600:80d0::31cd]) by smtp.gmail.com with ESMTPSA id 41be03b00d2f7-af56e9ca18esm7926384a12.16.2025.03.18.12.17.43 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Mar 2025 12:17:43 -0700 (PDT) Date: Tue, 18 Mar 2025 12:17:41 -0700 From: Noah Misch To: Andres Freund Cc: Tom Lane , Smolkin Grigory , pgsql-hackers@postgresql.org Subject: Re: race condition in pg_class Message-ID: <20250318191741.88.nmisch@google.com> References: <20231027044404.7e.nmisch@google.com> <20231027184832.9b.nmisch@google.com> <1596629.1698435146@sss.pgh.pa.us> <20231027214946.79.nmisch@google.com> <1617596.1698446455@sss.pgh.pa.us> <20231027232612.99.nmisch@google.com> <20231102030915.d3.nmisch@google.com> <20240512232923.aa.nmisch@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/2.2.12 (2023-09-09) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Mar 18, 2025 at 03:03:52PM -0400, Andres Freund wrote: > Subject: [PATCH v1] meson: Flush stdout in testwrap > > Otherwise the progress won't reliably be displayed during a test. > --- > src/tools/testwrap | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/tools/testwrap b/src/tools/testwrap > index 8ae8fb79ba7..21105146c9d 100755 > --- a/src/tools/testwrap > +++ b/src/tools/testwrap > @@ -61,6 +61,7 @@ for line in sp.stdout: > if line.startswith(b'ok '): > line = line.replace(b' # TODO ', b' # testwrap-overridden-TODO ', 1) > sys.stdout.buffer.write(line) > + sys.stdout.flush() > returncode = sp.wait() Fine with me.