postgresql/src/backend
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
..
access More refactoring of heapgettup() and heapgettup_pagemode() 2023-02-07 17:24:07 +13:00
backup Improve TimestampDifferenceMilliseconds to cope with overflow sanely. 2023-01-26 17:09:12 -05:00
bootstrap Update copyright for 2023 2023-01-02 15:00:37 -05:00
catalog Remove useless casts to (void *) in hash_search() calls 2023-02-06 09:41:01 +01:00
commands Remove dead NoMovementScanDirection code 2023-02-01 10:52:41 +13:00
executor Remove dead NoMovementScanDirection code 2023-02-01 10:52:41 +13:00
foreign Update copyright for 2023 2023-01-02 15:00:37 -05:00
jit Fix typos in comments, code and documentation 2023-01-03 16:26:14 +09:00
lib Fix ILIST_DEBUG build 2023-01-18 10:26:15 -08:00
libpq Support the same patterns for pg-user in pg_ident.conf as in pg_hba.conf 2023-01-20 11:21:55 +09:00
main Update copyright for 2023 2023-01-02 15:00:37 -05:00
nodes Include values of A_Const nodes in query jumbling 2023-02-07 09:03:54 +09:00
optimizer Fix up join removal's interaction with PlaceHolderVars. 2023-02-06 15:45:03 -05:00
parser Remove useless casts to (void *) in hash_search() calls 2023-02-06 09:41:01 +01:00
partitioning Update copyright for 2023 2023-01-02 15:00:37 -05:00
po Update copyright for 2023 2023-01-02 15:00:37 -05:00
port Update copyright for 2023 2023-01-02 15:00:37 -05:00
postmaster Disable STARTUP_PROGRESS_TIMEOUT in standby mode. 2023-02-06 10:51:08 -05:00
regex Update copyright for 2023 2023-01-02 15:00:37 -05:00
replication Use appropriate wait event when sending data in the apply worker. 2023-02-07 09:58:19 +05:30
rewrite Make Vars be outer-join-aware. 2023-01-30 13:16:20 -05:00
snowball Update copyright for 2023 2023-01-02 15:00:37 -05:00
statistics Update copyright for 2023 2023-01-02 15:00:37 -05:00
storage Remove useless casts to (void *) in hash_search() calls 2023-02-06 09:41:01 +01:00
tcop Retire PG_SETMASK() macro. 2023-02-03 11:29:46 +13:00
tsearch Remove useless casts to (void *) in hash_search() calls 2023-02-06 09:41:01 +01:00
utils Fix more outdated comments 2023-02-06 22:58:44 +01:00
.gitignore
Makefile Don't install postmaster symlink anymore 2023-01-26 11:33:01 +01:00
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
nls.mk NLS: Put list of available languages into LINGUAS files 2022-07-13 08:19:17 +02:00