Re: pgsql: Prevent instability in contrib/pageinspect's regression test. - Mailing list pgsql-hackers

From Andres Freund
Subject Re: pgsql: Prevent instability in contrib/pageinspect's regression test.
Date
Msg-id 20221121201818.u32xtvpqc5wd6tx7@alap3.anarazel.de
Whole thread Raw
In response to Re: pgsql: Prevent instability in contrib/pageinspect's regression test.  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pgsql: Prevent instability in contrib/pageinspect's regression test.
List pgsql-hackers
Hi,

On 2022-11-21 15:12:15 -0500, Tom Lane wrote:
> If I were trying to find a better fix I'd be looking for ways for
> parallel workers to be able to read the parent's temp tables.
> (Perhaps that could tie in with the blue-sky discussion we had
> the other day about allowing autovacuum on temp tables??)

That'd be a nontrivial change, because we explicitly don't use any
locking for anything relating to localbuf.c. One possible benefit could
be that we could substantially reduce the code duplication between
"normal" bufmgr.c and localbuf.c.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Add 64-bit XIDs into PostgreSQL 15
Next
From: Andres Freund
Date:
Subject: Re: Add 64-bit XIDs into PostgreSQL 15