Re: pgsql: Use appropriate wait event when sending data in the apply worker

2023-02-09 Thread Amit Kapila
On Thu, Feb 9, 2023 at 7:56 PM Robert Haas wrote: > > On Mon, Feb 6, 2023 at 11:40 PM Amit Kapila wrote: > > 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 t

Re: pgsql: Use appropriate wait event when sending data in the apply worker

2023-02-09 Thread Robert Haas
On Mon, Feb 6, 2023 at 11:40 PM Amit Kapila wrote: > 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 n