Use aux process resource owner in walsender
Andres Freund <andres@anarazel.de>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/backup/basebackup.c | modified | +5 −3 |
| src/backend/replication/walsender.c | modified | +8 −36 |
| src/include/replication/walsender.h | modified | +0 −1 |
Discussion
- AIO v2.0 213 messages · 2024-09-01 → 2025-07-29