Re: race condition in pg_class

From: Andres Freund <andres(at)anarazel(dot)de>
To: Noah Misch <noah(at)leadboat(dot)com>
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-19 13:04:59
Message-ID: wiprw6x7zoplf7kq7in74lhtw3qbffjbzkb6yczicuj6m2aqbk@fgfgbu37pi43
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2025-03-18 12:17:41 -0700, Noah Misch wrote:
> 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.

Cool. Pushed.

Thanks,

Andres

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Verite 2025-03-19 13:05:34 Re: Add Pipelining support in psql
Previous Message Robert Haas 2025-03-19 13:02:37 Re: Add -k/--link option to pg_combinebackup