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 <hlinnaka@iki.fi>
Reviewed-by: Noah Misch <noah@leadboat.com>
Discussion: https://postgr.es/m/1f6b50a7-38ef-4d87-8246-786d39f46ab9@iki.fi
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(-)