pgsql: Fix test_session_hooks with parallel workers

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема pgsql: Fix test_session_hooks with parallel workers
Дата
Msg-id E1iFBh9-00026T-5z@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix test_session_hooks with parallel workers

Several buildfarm machines have been complaining about the new module
test_session_hooks to be unstable, like crake and thorntail.  The issue
was that the module was trying to log some start and end session
activity for parallel workers, which makes little sense as they don't
support DML, so just prevent this pattern to happen in the module.

This could be reproduced by enforcing force_parallel_mode=regress, which
is the value used by some of the buildfarm members.

Discussion: https://postgr.es/m/20191001045246.GF2781@paquier.xyz

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/002962dc7293043126561b0d0df79d6c76251804

Modified Files
--------------
src/test/modules/test_session_hooks/test_session_hooks.c | 9 +++++++++
1 file changed, 9 insertions(+)


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Add hooks for session start and session end, take two
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: pgsql: Add hooks for session start and session end, take two