pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use aux process resource owner in walsender
Date: Tue, 08 Oct 2024 16:57:17 +0000
Message-ID: <E1syDWP-002jSE-TY@gemulon.postgresql.org> (raw)

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(-)



Message-ID: <E1syDWP-002jSE-TY@gemulon.postgresql.org>
Permalink:  ../E1syDWP-002jSE-TY@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1syDWP-002jSE-TY@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use aux process resource owner in walsender
  In-Reply-To: <E1syDWP-002jSE-TY@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox