Re: [PATCH] Report userid to PgBackendStatus for standalone backends

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: cca5507 <cca5507(at)qq(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] Report userid to PgBackendStatus for standalone backends
Date: 2026-09-08 23:28:06
Message-ID: aqCaBrpR7jsa8yxo@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Sep 08, 2026 at 06:02:52PM +0800, cca5507 wrote:
> Standalone backends always use the BOOTSTRAP_SUPERUSER, it might be
> good to report it to PgBackendStatus so that we can query it even in single
> user mode.

Why should we care for a process kicked by postgres --single? No
other processes can look at the information provided. :)
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-09-08 23:35:03 Re: Improve error handling in test modules: test_extensible, test_bitmapset
Previous Message Michael Paquier 2026-09-08 23:25:14 Re: Concurrent DROP TABLESPACE can miss a shared dependency