Re: race condition in pg_class

From: Noah Misch <noah(at)leadboat(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Smolkin Grigory <smallkeen(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: race condition in pg_class
Date: 2025-03-18 19:17:41
Message-ID: 20250318191741.88.nmisch@google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ilia Evdokimov 2025-03-18 19:27:47 Re: [PATCH] Optionally record Plan IDs to track plan changes for a query
Previous Message Peter Geoghegan 2025-03-18 19:15:20 Re: Adding skip scan (including MDAM style range skip scan) to nbtree