pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mark Dilger <mark.dilger@enterprisedb.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Julien Rouhaud <rjuju123@gmail.com>
Cc: Joshua Brindle <joshua.brindle@crunchydata.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Jeff Davis <pgsql@j-davis.com>
Cc: Joe Conway <joe@crunchydata.com>
Cc: Stephen Frost <sfrost@snowman.net>
Subject: Re: New Object Access Type hooks
Date: Tue, 22 Mar 2022 18:41:45 -0400
Message-ID: <2611318.1647988905@sss.pgh.pa.us> (raw)
In-Reply-To: <DC76B582-456B-408A-9945-D9A32B96907D@enterprisedb.com>
References: <7f6d54a1-4024-3b6e-e3ec-26cd394aac9e@dunslane.net>
	<20220322151444.pagugrb7rjmlee2z@jrouhaud>
	<AB996420-4E8B-4A8C-9752-F820FE11B913@enterprisedb.com>
	<f884a990-fd46-e809-86ca-2709d290cb57@dunslane.net>
	<2557598.1647966829@sss.pgh.pa.us>
	<74B3B4DC-9909-40BB-B1DD-B4E0BA90765D@enterprisedb.com>
	<2566579.1647968299@sss.pgh.pa.us>
	<15e21fc0-a23b-bd8d-d71c-2cf326c97971@dunslane.net>
	<2567295.1647968925@sss.pgh.pa.us>
	<1eefe208-0262-e890-756c-6535da2109cc@dunslane.net>
	<20220322222011.3lkygr6julmbhewi@alap3.anarazel.de>
	<DC76B582-456B-408A-9945-D9A32B96907D@enterprisedb.com>

Mark Dilger <mark.dilger@enterprisedb.com> writes:
>> On Mar 22, 2022, at 3:20 PM, Andres Freund <andres@anarazel.de> wrote:
>> Seems like it might actually be good to test that object access hooks work
>> well in a parallel worker. How about going the other way and explicitly setting
>> force_parallel_mode = disabled for parts of the test and to enabled for
>> others?

> Wouldn't we get differing numbers of NOTICE messages depending on how
> many parallel workers there are?  Or would you propose setting the
> number of workers to a small, fixed value?

The value would have to be "1", else you are going to have issues
with notices from different workers being interleaved differently
from run to run.  You might have that anyway, due to interleaving
of leader and worker messages.

			regards, tom lane





view thread (62+ messages)  latest in thread

Message-ID: <2611318.1647988905@sss.pgh.pa.us>
Permalink:  ../2611318.1647988905@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2611318.1647988905@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mark.dilger@enterprisedb.com, andres@anarazel.de, andrew@dunslane.net, rjuju123@gmail.com, joshua.brindle@crunchydata.com, robertmhaas@gmail.com, pgsql@j-davis.com, joe@crunchydata.com, sfrost@snowman.net
  Subject: Re: New Object Access Type hooks
  In-Reply-To: <2611318.1647988905@sss.pgh.pa.us>
  References: <7f6d54a1-4024-3b6e-e3ec-26cd394aac9e@dunslane.net> <20220322151444.pagugrb7rjmlee2z@jrouhaud> <AB996420-4E8B-4A8C-9752-F820FE11B913@enterprisedb.com> <f884a990-fd46-e809-86ca-2709d290cb57@dunslane.net> <2557598.1647966829@sss.pgh.pa.us> <74B3B4DC-9909-40BB-B1DD-B4E0BA90765D@enterprisedb.com> <2566579.1647968299@sss.pgh.pa.us> <15e21fc0-a23b-bd8d-d71c-2cf326c97971@dunslane.net> <2567295.1647968925@sss.pgh.pa.us> <1eefe208-0262-e890-756c-6535da2109cc@dunslane.net> <20220322222011.3lkygr6julmbhewi@alap3.anarazel.de> <DC76B582-456B-408A-9945-D9A32B96907D@enterprisedb.com> <2611318.1647988905@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox