Re: New Object Access Type hooks

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: New Object Access Type hooks
Дата
Msg-id 2611318.1647988905@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: New Object Access Type hooks  (Mark Dilger <mark.dilger@enterprisedb.com>)
Ответы Re: New Object Access Type hooks  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Window Function "Run Conditions"
Следующее
От: Jacob Champion
Дата:
Сообщение: Re: [PoC] Federated Authn/z with OAUTHBEARER