Use aux process resource owner in walsender

AIO will need a resource owner to do IO. Right now we create a resowner
on-demand during basebackup, and we could do the same for AIO. But it seems
easier to just always create an aux process resowner.

Reviewed-by: Heikki Linnakangas <[email protected]>
Reviewed-by: Noah Misch <[email protected]>
Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/57f37024712702350b714cf64215077f1d75c568

Modified Files
--------------
src/backend/backup/basebackup.c     |  8 ++++---
src/backend/replication/walsender.c | 44 +++++++------------------------------
src/include/replication/walsender.h |  1 -
3 files changed, 13 insertions(+), 40 deletions(-)

Reply via email to