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

From Tom Lane
Subject Re: pgsql: Prevent instability in contrib/pageinspect's regression test.
Date
Msg-id 3215927.1669052115@sss.pgh.pa.us
Whole thread Raw
Responses Re: pgsql: Prevent instability in contrib/pageinspect's regression test.
List pgsql-hackers
I wrote:
> Andres Freund <andres@anarazel.de> writes:
>> Looks like a chunk of the buildfarm doesn't like this - presumably because
>> they use force_parallel_mode = regress. Seems ok to just force that to off in
>> this test?

> Ugh ... didn't occur to me to try that.  I'll take a look.

Hmm, so the problem is:

SELECT octet_length(get_raw_page('test1', 'main', 0)) AS main_0;
ERROR:  cannot access temporary tables during a parallel operation

Why in the world is get_raw_page() marked as parallel safe?
It clearly isn't, given this restriction.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Justin Pryzby
Date:
Subject: Re: Damage control for planner's get_actual_variable_endpoint() runaway
Next
From: sirisha chamarthi
Date:
Subject: Re: Catalog_xmin is not advanced when a logical slot is lost