Re: Addition of authenticated ID to pg_stat_activity

From: Justin Pryzby <pryzby(at)telsasoft(dot)com>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Addition of authenticated ID to pg_stat_activity
Date: 2021-04-26 03:14:43
Message-ID: 20210426031443.GS7256@telsasoft.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Apr 26, 2021 at 11:34:16AM +0900, Michael Paquier wrote:
> +++ b/doc/src/sgml/config.sgml
> @@ -7596,6 +7596,24 @@ COPY postgres_log FROM '/full/path/to/logfile.csv' WITH csv;
> </listitem>
> </varlistentry>
>
> + <varlistentry id="guc-track-activity-authn-size" xreflabel="track_activity_authn_size">
> + <term><varname>track_activity_authn_size</varname> (<type>integer</type>)
> + <indexterm>
> + <primary><varname>track_activity_authn_size</varname> configuration parameter</primary>
> + </indexterm>
> + </term>
> + <listitem>
> + <para>
> + Specifies the amount of memory reserved to store the text of the
> + currently executing command for each active session, for the

That part looks to be a copy+paste error.

> + <structname>pg_stat_activity</structname>.<structfield>authenticated_id</structfield> field.
> + If this value is specified without units, it is taken as bytes.
> + The default value is 128 bytes.
> + This parameter can only be set at server start.
> + </para>
> + </listitem>
> + </varlistentry>

I think many/most things in log/CSV should also go in PSA, and vice versa.

It seems like there should be a comment about this - in both places - to avoid
forgetting it in the future.

--
Justin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bharath Rupireddy 2021-04-26 03:26:57 Re: Can a child process detect postmaster death when in pg_usleep?
Previous Message Bharath Rupireddy 2021-04-26 03:12:30 Remove redundant variable pageSize in gistinitpage