pgsql: Use aux process resource owner in walsender

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Use aux process resource owner in walsender
Date: 2024-10-08 16:57:17
Message-ID: E1syDWP-002jSE-TY@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)iki(dot)fi>
Reviewed-by: Noah Misch <noah(at)leadboat(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2024-10-08 17:52:19 pgsql: Add min and max aggregates for bytea type.
Previous Message Tom Lane 2024-10-08 15:15:22 pgsql: Silence buildfarm warning chatter from bd1276a3c.