Re: System username in pg_stat_activity

From: Andres Freund <andres(at)anarazel(dot)de>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>, Aleksander Alekseev <aleksander(at)timescale(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: System username in pg_stat_activity
Date: 2024-02-16 21:02:20
Message-ID: 20240216210220.z5u5ekviucdq2yqe@awork3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2024-02-16 21:56:25 +0100, Magnus Hagander wrote:
> On Fri, Feb 16, 2024 at 9:51 PM Andres Freund <andres(at)anarazel(dot)de> wrote:
> > I only skimmed the patch, but it sure looks to me that we could end up with
> > none of the branches setting 31,32, so I think you'd have to make sure to
> > handle that case.
>
> That case sets nulls[] for both of them to true I believe? And when
> that is set I don't believe we need to set the values themselves.

Seems I skimmed too quickly :) - you're right.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David G. Johnston 2024-02-16 21:37:53 Re: Things I don't like about \du's "Attributes" column
Previous Message Magnus Hagander 2024-02-16 20:56:25 Re: System username in pg_stat_activity