postgresql/src
Amit Kapila d9d7fe68d3 Use appropriate wait event when sending data in the apply worker.
Currently, we reuse WAIT_EVENT_LOGICAL_PARALLEL_APPLY_STATE_CHANGE in the
apply worker while sending data to the parallel apply worker via a shared
memory queue. This is not appropriate as one won't be able to distinguish
whether the worker is waiting for sending data or for the state change.

To patch instead uses the wait event WAIT_EVENT_MQ_SEND which has been
already used in blocking mode while sending data via a shared memory
queue.

Author: Hou Zhijie
Reviewed-by: Kuroda Hayato, Amit Kapila
Discussion: https://postgr.es/m/OS0PR01MB57161C680B22E4C591628EE994DA9@OS0PR01MB5716.jpnprd01.prod.outlook.com
2023-02-07 09:58:19 +05:30
..
backend Use appropriate wait event when sending data in the apply worker. 2023-02-07 09:58:19 +05:30
bin Add support for progress reporting to pg_verifybackup 2023-02-06 14:40:31 +09:00
common Revert refactoring of restore command code to shell_restore.c 2023-02-06 08:28:42 +09:00
fe_utils Revert refactoring of restore command code to shell_restore.c 2023-02-06 08:28:42 +09:00
include Include values of A_Const nodes in query jumbling 2023-02-07 09:03:54 +09:00
interfaces Properly NULL-terminate GSS receive buffer on error packet reception 2023-02-06 11:20:07 +09:00
makefiles Update copyright for 2023 2023-01-02 15:00:37 -05:00
pl Remove useless casts to (void *) in hash_search() calls 2023-02-06 09:41:01 +01:00
port Remove gratuitous references to postmaster program 2023-01-26 10:48:32 +01:00
template Use unnamed POSIX semaphores on Cygwin. 2023-01-06 10:33:28 +13:00
test Fix up join removal's interaction with PlaceHolderVars. 2023-02-06 15:45:03 -05:00
timezone Update time zone data files to tzdata release 2022g. 2023-01-31 17:36:55 -05:00
tools Revert refactoring of restore command code to shell_restore.c 2023-02-06 08:28:42 +09:00
tutorial Update copyright for 2023 2023-01-02 15:00:37 -05:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in autoconf: Move export_dynamic determination to configure 2022-12-06 18:55:28 -08:00
Makefile.shlib autoconf: Rely on ar supporting index creation 2022-10-07 11:53:39 -07:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
nls-global.mk Fix for make unportability 2022-07-13 09:15:01 +02:00