Re: Addition of authenticated ID to pg_stat_activity - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: Addition of authenticated ID to pg_stat_activity
Date
Msg-id 20210426031443.GS7256@telsasoft.com
Whole thread Raw
In response to Addition of authenticated ID to pg_stat_activity  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Addition of authenticated ID to pg_stat_activity
List 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



pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Remove redundant variable pageSize in gistinitpage
Next
From: Bharath Rupireddy
Date:
Subject: Re: Can a child process detect postmaster death when in pg_usleep?