public inbox for [email protected]  
help / color / mirror / Atom feed
From: Fujii Masao <[email protected]>
To: Heikki Linnakangas <[email protected]>
Cc: Thom Brown <[email protected]>
Cc: [email protected]
Subject: Re: pgsql: Refactor how some aux processes advertise their ProcNumber
Date: Thu, 9 Jul 2026 21:34:50 +0900
Message-ID: <CAHGQGwEwLCGpRnKOnxBz-a5zPUdEdBPhGrq7GPgxc3KtDpyHoQ@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
	<CAA-aLv6UHXubNxmAjNH8PnyKKkaXePO1ggB15=iidNW08T4hSg@mail.gmail.com>
	<CAHGQGwH8n4BMjBJcL1ob6YTJYn1kTmVwO6mEYoEGyrGyNXaaXw@mail.gmail.com>
	<[email protected]>

On Thu, Jul 9, 2026 at 9:17 PM Heikki Linnakangas <[email protected]> wrote:
> Why is the autovacuum launcher not an aux process? I guess it's because
> it needs to acquire a heavy-weight lock in order to read the list of
> databases.

That seems to be one of the reasons, based on the comment about auxiliary
processes in miscadmin.h:

-------------------------
* Auxiliary processes. These have PGPROC entries, but they are not
* attached to any particular database, and cannot run transactions or
* even take heavyweight locks. There can be only one of each of these
* running at a time, except for IO workers.
-------------------------

Regards,

-- 
Fujii Masao





view thread (8+ messages)  latest in thread

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: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  Subject: Re: pgsql: Refactor how some aux processes advertise their ProcNumber
  In-Reply-To: <CAHGQGwEwLCGpRnKOnxBz-a5zPUdEdBPhGrq7GPgxc3KtDpyHoQ@mail.gmail.com>

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

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